Enum ProcessConstants.TemplateBuildtimeState

    • Enum Constant Detail

      • IN_CONSTRUCTION

        public static final ProcessConstants.TemplateBuildtimeState IN_CONSTRUCTION
        A template is "in construction" while a modeler wants to perform further modifications but is currently not working on the template. While "in construction" the template may not be not be derived nor instantiated.
      • VALID

        public static final ProcessConstants.TemplateBuildtimeState VALID
        A template in state "valid" conforms to the ADEPT-metamodel and is currently not in modification. This state concludes the modelling phase but allows to perform further modifications (by transitioning back to "in construction") as well as releasing the template. This state also allows to instantiate the template by the agents specified by the corresponding starter rule. This allows for testing the template.
      • RELEASED

        public static final ProcessConstants.TemplateBuildtimeState RELEASED
        A "released" template may be used for instantiation (unless the instantiable-state prevents this) and normal usage but it must not be changed. Changing a released template has to carried out by deriving a new child template.

        "Released" has five substates concerning the usage of a template, to be specific whether it is deprecated, child templates may be derived, instances may be created, instances of parent templates may be migrated to this template, and instances running on this template may be changed.

    • Method Detail

      • values

        public static ProcessConstants.TemplateBuildtimeState[] 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 (ProcessConstants.TemplateBuildtimeState c : ProcessConstants.TemplateBuildtimeState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProcessConstants.TemplateBuildtimeState 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
      • getCode

        public int getCode()
      • valueOf

        public static ProcessConstants.TemplateBuildtimeState valueOf​(int code)
        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:
        code - 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