Package de.xima.fc.common.workflow.bpmn
Enum EWorkflowBpmnConnectionStyle
- java.lang.Object
-
- java.lang.Enum<EWorkflowBpmnConnectionStyle>
-
- de.xima.fc.common.workflow.bpmn.EWorkflowBpmnConnectionStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<EWorkflowBpmnConnectionStyle>
public enum EWorkflowBpmnConnectionStyle extends Enum<EWorkflowBpmnConnectionStyle>
Enumeration representing the style of connections in a BPMN diagram created by the workflow engine. Connections are eitherAssociation
,SequenceFlow
orMessageFlow
.- Since:
- 8.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AXIS_ALIGNED
Connections are drawn as straight, axis-aligned lines between the source and target elements.DIAGONAL
Connections are drawn as lines that follow the shortest path between the waypoints from the source to the target element.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EWorkflowBpmnConnectionStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static EWorkflowBpmnConnectionStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AXIS_ALIGNED
public static final EWorkflowBpmnConnectionStyle AXIS_ALIGNED
Connections are drawn as straight, axis-aligned lines between the source and target elements.
-
DIAGONAL
public static final EWorkflowBpmnConnectionStyle DIAGONAL
Connections are drawn as lines that follow the shortest path between the waypoints from the source to the target element.
-
-
Method Detail
-
values
public static EWorkflowBpmnConnectionStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EWorkflowBpmnConnectionStyle c : EWorkflowBpmnConnectionStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWorkflowBpmnConnectionStyle valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-