|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.bpmn.view.EventCharEnum
Type-safe enumeration for BPMN event characteristics.
Field Summary | |
static EventCharEnum |
EVENT_CHARACTERISTIC_END
Characteristic constant for an end event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_INTERRUPTING
Characteristic constant for an intermediate (boundary interrupting) events. |
static EventCharEnum |
EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_NON_INTERRUPTING
Characteristic constant for an intermediate (boundary non-interrupting) event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_INTERMEDIATE_CATCHING
Characteristic constant for an intermediate (catching) event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_INTERMEDIATE_THROWING
Characteristic constant for an intermediate (throwing) event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_START
Characteristic constant for a start (top level) event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_INTERRUPTING
Characteristic constant for a start (event sub-process interrupting) event. |
static EventCharEnum |
EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_NON_INTERRUPTING
Characteristic constant for a start (event sub-process non-interrupting) event. |
Method Summary | |
static EventCharEnum |
getByName(String name)
Retrieves the event characteristic constant that corresponds to the specified characteristic name. |
static List |
getEventCharacteristics()
Returns an unmodifiable list of all BPMN event characteristics. |
static List |
getSupportedEventCharacteristics(BpmnTypeEnum type)
Returns an unmodifiable list of all BPMN event characteristics that are supported by the specified BPMN event type. |
static boolean |
isIntermediateEvent(EventCharEnum characteristic)
Determines whether or not the specified characteristic denotes an intermediate event. |
static boolean |
isStartEvent(EventCharEnum characteristic)
Determines whether or not the specified characteristic denotes a start event. |
static boolean |
isSupportedEventCharacteristic(BpmnTypeEnum type,
EventCharEnum characteristic)
Returns whether or not the specified BPMN type supports the specified BPMN event characteristic. |
String |
toString()
Returns a string representation of this event characteristic. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final EventCharEnum EVENT_CHARACTERISTIC_START
public static final EventCharEnum EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_INTERRUPTING
public static final EventCharEnum EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_NON_INTERRUPTING
public static final EventCharEnum EVENT_CHARACTERISTIC_INTERMEDIATE_CATCHING
public static final EventCharEnum EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_INTERRUPTING
public static final EventCharEnum EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_NON_INTERRUPTING
public static final EventCharEnum EVENT_CHARACTERISTIC_INTERMEDIATE_THROWING
public static final EventCharEnum EVENT_CHARACTERISTIC_END
Method Detail |
public String toString()
public static EventCharEnum getByName(String name)
name
- the name of the BPMN event characteristic. Should be one of
EVENT_CHARACTERISTIC_START
EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_INTERRUPTING
EVENT_CHARACTERISTIC_START_EVENT_SUB_PROCESS_NON_INTERRUPTING
EVENT_CHARACTERISTIC_INTERMEDIATE_CATCHING
EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_INTERRUPTING
EVENT_CHARACTERISTIC_INTERMEDIATE_BOUNDARY_NON_INTERRUPTING
EVENT_CHARACTERISTIC_INTERMEDIATE_THROWING
EVENT_CHARACTERISTIC_END
null
if there is no corresponding characteristic constant.public static List getEventCharacteristics()
EventCharEnum
instances.public static List getSupportedEventCharacteristics(BpmnTypeEnum type)
type
- the BPMN event type to check.
EventCharEnum
instances representing the BPMN event characteristics supported by
the specified BPMN event type.public static boolean isSupportedEventCharacteristic(BpmnTypeEnum type, EventCharEnum characteristic)
type
- the BPMN event type to check.characteristic
- the BPMN event characteristic to check.
true
if the specified BPMN type supports the specified
BPMN event characteristic; false
otherwise.public static boolean isStartEvent(EventCharEnum characteristic)
characteristic
- the event characteristic to check.
true
if the specified characteristic denotes
a start event and false
otherwise.public static boolean isIntermediateEvent(EventCharEnum characteristic)
characteristic
- the event characteristic to check.
true
if the specified characteristic denotes
an intermediate event and false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |