public static enum ProcessConstants.TemplateUsage extends java.lang.Enum<ProcessConstants.TemplateUsage>
| Enum Constant and Description |
|---|
AS_COPY
The process template may only be used as a subprocess by incorporating
the graph structure in the surrounding process template.
|
AS_REFERENCE
The process template may be referenced by a node in another template.
|
COPY_OR_REFERENCE
The process template can be used either as copied subprocess or as
referenced subprocess.
|
NO_SUBPROCESS
The process template may not be used as a subprocess.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ProcessConstants.TemplateUsage |
valueOf(int code) |
static ProcessConstants.TemplateUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessConstants.TemplateUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessConstants.TemplateUsage NO_SUBPROCESS
public static final ProcessConstants.TemplateUsage AS_COPY
public static final ProcessConstants.TemplateUsage AS_REFERENCE
public static final ProcessConstants.TemplateUsage COPY_OR_REFERENCE
public static ProcessConstants.TemplateUsage[] values()
for (ProcessConstants.TemplateUsage c : ProcessConstants.TemplateUsage.values()) System.out.println(c);
public static ProcessConstants.TemplateUsage 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.TemplateUsage valueOf(int code)