Enum OpCode

    • Enum Constant Detail

      • NONE

        public static final OpCode NONE
        Operation fully defined by its class
      • ADD

        public static final OpCode ADD
        Add new model
      • MODIFY

        public static final OpCode MODIFY
        Modify properties of existing model
      • DELETE

        public static final OpCode DELETE
        Delete existing model permanently
      • ENABLE

        public static final OpCode ENABLE
        Mark existing model as enabled
      • DISABLE

        public static final OpCode DISABLE
        Mark existing model as disabled. It is still known, but won't be registered. Such disabled element may wait for the moment where other model (with higher ranking) was disabled/removed
      • ASSOCIATE

        public static final OpCode ASSOCIATE
        Special association operation between WebContainerContext and OsgiContextModel
      • DISASSOCIATE

        public static final OpCode DISASSOCIATE
        Special deassociation operation between WebContainerContext and OsgiContextModel
    • Method Detail

      • values

        public static OpCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OpCode c : OpCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OpCode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null