public static enum ProcessConstants.TemplateBuildtimeState extends java.lang.Enum<ProcessConstants.TemplateBuildtimeState>
| Enum Constant and Description |
|---|
IN_CONSTRUCTION
A template is "in construction" while a modeler wants to perform further
modifications but is currently not working on the template.
|
RELEASED
A "released" template may be used for instantiation (unless the
instantiable-state prevents this) and normal usage but it must not be
changed.
|
VALID
A template in state "valid" conforms to the ADEPT-metamodel and is
currently not in modification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ProcessConstants.TemplateBuildtimeState |
valueOf(int code) |
static ProcessConstants.TemplateBuildtimeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConstants.TemplateBuildtimeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessConstants.TemplateBuildtimeState IN_CONSTRUCTION
public static final ProcessConstants.TemplateBuildtimeState VALID
public static final ProcessConstants.TemplateBuildtimeState RELEASED
"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.
public static ProcessConstants.TemplateBuildtimeState[] values()
for (ProcessConstants.TemplateBuildtimeState c : ProcessConstants.TemplateBuildtimeState.values()) System.out.println(c);
public static ProcessConstants.TemplateBuildtimeState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
public static ProcessConstants.TemplateBuildtimeState valueOf(int code)