public enum EBPType extends java.lang.Enum<EBPType>
ExecutableBusinessProcesses, that
is whether it is an activity or a subprocess. This allows for instance to
differentiate in worklists.| Enum Constant and Description |
|---|
ACTIVITY
The EBP represents an activity.
|
DECISION_ACTIVITY
The EBP represents a special decision activity.
|
LWP
The EBP represents a lightweight process / subprocess.
|
NULL
The node of the EBP does not have an activity assigned.
|
TLPI
The EBP represents a top-level process instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode()
Returns a byte code representing this type.
|
boolean |
isActivity()
Returns whether this type represents a simple activity instead of a (sub)
process.
|
static EBPType |
valueOf(byte code)
Returns the type for the given code or
null if the code is not
recognised. |
static EBPType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EBPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EBPType NULL
public static final EBPType ACTIVITY
public static final EBPType DECISION_ACTIVITY
public static final EBPType LWP
public static final EBPType TLPI
public static EBPType[] values()
for (EBPType c : EBPType.values()) System.out.println(c);
public static EBPType 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 byte getCode()
public boolean isActivity()
public static EBPType valueOf(byte code)
null if the code is not
recognised.code - The code for which to find the type.