Class BPMNtoLayoutedBPMNConverter
java.lang.Object
de.uni_trier.wi2.procake.utils.conversion.bpmn.BPMNtoLayoutedBPMNConverter
- All Implemented Interfaces:
OneWayConverter<String,
String>
Adds or updates layout information to BPMN XML string. This converter provides am optimized
layout for block-oriented BPMN structure and uses the layouter from the activiti framework as a
fallback. The optimized layout can be applied if the BPMN graph meets the following restrictions:
single start and end node, no pools or lanes, XOR gateways with two branches only, no events
- Author:
- Clemens Reh, Christian Zeyen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts the origin object type to a target object type.boolean
boolean
boolean
void
setAllSubProcessesCollapsed
(boolean flag) void
setExpandedSubProcesses
(List<String> expandedSubProcesses) void
setReturnFormattedXml
(boolean flag)
-
Constructor Details
-
BPMNtoLayoutedBPMNConverter
public BPMNtoLayoutedBPMNConverter()
-
-
Method Details
-
convert
Description copied from interface:OneWayConverter
Converts the origin object type to a target object type.- Specified by:
convert
in interfaceOneWayConverter<String,
String> - Parameters:
originXmlString
- object to be converted- Returns:
- the converted object
-
isAllSubProcessesCollapsed
public boolean isAllSubProcessesCollapsed() -
setAllSubProcessesCollapsed
public void setAllSubProcessesCollapsed(boolean flag) -
getExpandedSubProcesses
-
setExpandedSubProcesses
-
isReturnFormattedXml
public boolean isReturnFormattedXml() -
setReturnFormattedXml
public void setReturnFormattedXml(boolean flag) -
hasAppliedOptimizedLayoutSuccessfully
public boolean hasAppliedOptimizedLayoutSuccessfully()
-