|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.bpmn.view.MarkerTypeEnum
Type-safe enumeration for BPMN markers.
Field Summary | |
static MarkerTypeEnum |
AD_HOC
Type constant for an ad-hoc marker. |
static MarkerTypeEnum |
CLOSED
Type constant for a closed sub-process marker. |
static MarkerTypeEnum |
COMPENSATION
Type constant for a compensation marker. |
static MarkerTypeEnum |
LOOP
Type constant for a loop marker. |
static MarkerTypeEnum |
OPEN
Type constant for an open sub-process marker. |
static MarkerTypeEnum |
PARALLEL
Type constant for a parallel marker. |
static MarkerTypeEnum |
SEQUENTIAL
Type constant for a sequential marker. |
Method Summary | |
static MarkerTypeEnum |
getByName(String name)
Retrieves the marker type constant that corresponds to the given marker name. |
static boolean |
isClosedGroupNode(MarkerTypeEnum[] markers)
Returns whether or not the given markers indicate that their node is a closed group. |
static boolean |
isGroupNode(MarkerTypeEnum[] markers)
Returns whether or not the given markers indicate that their node is a BPMN group node. |
static boolean |
isOpenGroupNode(MarkerTypeEnum[] markers)
Returns whether or not the given markers indicate that their node is an open group. |
static boolean |
isStateless(MarkerTypeEnum[] markers)
Returns whether or not the given markers indicate that their node is a BPMN stateless task. |
String |
toString()
Returns a string representation of this marker. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final MarkerTypeEnum AD_HOC
public static final MarkerTypeEnum LOOP
public static final MarkerTypeEnum PARALLEL
public static final MarkerTypeEnum SEQUENTIAL
public static final MarkerTypeEnum COMPENSATION
public static final MarkerTypeEnum CLOSED
public static final MarkerTypeEnum OPEN
Method Detail |
public String toString()
public static MarkerTypeEnum getByName(String name)
name
- the name of the type constant to retrieve. Should be one of
BPMN_MARKER_AD_HOC
BPMN_MARKER_LOOP
BPMN_MARKER_PARALLEL
BPMN_MARKER_SEQUENTIAL
BPMN_MARKER_COMPENSATION
BPMN_MARKER_CLOSED
BPMN_MARKER_OPEN
null
if there is no corresponding type constant.public static boolean isGroupNode(MarkerTypeEnum[] markers)
markers
- the markers to check.
true
if the given markers indicate that their node is a BPMN group node;
false
otherwise.public static boolean isClosedGroupNode(MarkerTypeEnum[] markers)
markers
- the markers to check.
true
if the given markers indicate that their node is a closed group;
false
otherwise.public static boolean isOpenGroupNode(MarkerTypeEnum[] markers)
markers
- the markers to check.
true
if the given markers indicate that their node is a open group;
false
otherwise.public static boolean isStateless(MarkerTypeEnum[] markers)
markers
- the activity markers to check.
true
if the given markers indicate that their node is a BPMN stateless task;
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |