Enum Class EventDefinitionLocation
- All Implemented Interfaces:
Serializable, Comparable<EventDefinitionLocation>, Constable
Where an
EventDefinition is allowed to appear in a process model. Each EventDefinition
subclass declares its supported locations via EventDefinition.getSupportedLocations(); the BPMN
process validators consult this set instead of hard-coding the allowed types.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBoundaryEventattached to an activity.EndEventbody — coversTerminate,Cancel,Error,Escalationend events.Start event inside anEventSubProcess.IntermediateCatchEventbody.IntermediateThrowEventbody — coversCompensate,Escalation,Signalthrow events.Top-level start event of aProcess(i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic EventDefinitionLocationReturns the enum constant of this class with the specified name.static EventDefinitionLocation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_EVENT
Top-level start event of aProcess(i.e. not inside anEventSubProcess). -
EVENT_SUBPROCESS_START_EVENT
Start event inside anEventSubProcess. -
INTERMEDIATE_CATCH_EVENT
IntermediateCatchEventbody. -
BOUNDARY_EVENT
BoundaryEventattached to an activity. -
END_EVENT
EndEventbody — coversTerminate,Cancel,Error,Escalationend events. -
INTERMEDIATE_THROW_EVENT
IntermediateThrowEventbody — coversCompensate,Escalation,Signalthrow events.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-