Class FlowchartToBpmnConverterSettings
java.lang.Object
de.xima.fc.workflow.converter.bpmn.FlowchartToBpmnConverterSettings
- All Implemented Interfaces:
Serializable
Default implementation of
IWorkflowBpmnLayoutSettings with a builder.- Since:
- 8.4.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether to always place in and out ports at the center of aBPMN shape'sside.booleanWhen enabled, convertswaypointsofBPMNEdgethat form a non axis-aligned diagonal path to an axis-aligned path.builder()Create a new builder for the settings used byFlowchartToBpmnConverter.booleanWhether to include values for attributes in the XML output even if they are equal to their default value.booleanWhen enabled, affectseventswitheventDefinitionReferences.locale()Gets the locale to use for localized messages in the BPMN diagram.
-
Method Details
-
alwaysCenterPorts
public boolean alwaysCenterPorts()Whether to always place in and out ports at the center of aBPMN shape'sside. Defaults to false. Some BPMN tools only allowBPMN edgesto connect to specific points on the shape. This setting may improve compatibility with such tools.- Returns:
- Whether to always center ports on the shape's side.
-
axisAlignDiagonalConnections
public boolean axisAlignDiagonalConnections()When enabled, convertswaypointsofBPMNEdgethat form a non axis-aligned diagonal path to an axis-aligned path. This is done by approximating the diagonal path with a series of axis-aligned segments. May be useful for tools that don't support diagonal connections.- Returns:
- Whether to convert diagonal connections to axis-aligned connections.
-
includeDefaultValuesInXml
public boolean includeDefaultValuesInXml()Whether to include values for attributes in the XML output even if they are equal to their default value. May improve compatibility with some tools that do not respect the default values as per the BPMN 2 standard.- Returns:
- Whether to include default values in the XML output.
-
inlineEventDefinitionReferences
public boolean inlineEventDefinitionReferences()When enabled, affectseventswitheventDefinitionReferences. Creates a copy of the referenced event and inlines it viaeventDefinitions. May be useful for tools that don't support that part of the BPMN spec. Defaults to false.- Returns:
- Whether to inline event definition references.
-
locale
Gets the locale to use for localized messages in the BPMN diagram.- Returns:
- The locale to use for the BPMN diagram, never null.
-
builder
Create a new builder for the settings used byFlowchartToBpmnConverter.- Returns:
- A new builder.
-