Class FlowGraphToGraphDotConverter
java.lang.Object
de.xima.fc.workflow.converter.graphdot.FlowGraphToGraphDotConverter
Creates graph dot files for a processing chain.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionFlowGraphToGraphDotConverter(Mandant client, WorkflowTask task, IMessageLocalizer localizer, ITaskFlowAnalysis analysis, FlowGraphToGraphDotConverterSettings settings) Creates a converter for writing a dot file with the flow graph of the given task, using the given flow graph analysis result. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteDotFile(Writer writer) Writes the flow graph of the task to the given writer.static StringwriteToString(Mandant client, WorkflowTask task, IMessageLocalizer localizer, ITaskFlowAnalysis analysis, FlowGraphToGraphDotConverterSettings settings) Creates a dot file with the flow graph of the given task, using the given flow graph analysis result.
-
Constructor Details
-
FlowGraphToGraphDotConverter
public FlowGraphToGraphDotConverter(Mandant client, WorkflowTask task, IMessageLocalizer localizer, ITaskFlowAnalysis analysis, FlowGraphToGraphDotConverterSettings settings) Creates a converter for writing a dot file with the flow graph of the given task, using the given flow graph analysis result.- Parameters:
client- Client scope where the task is located.task- Workflow task that was analyzed.localizer- Localizer for the localized messages in the diagram.analysis- Flow analysis of the task.settings- Settings for the conversion.
-
-
Method Details
-
writeDotFile
Writes the flow graph of the task to the given writer.- Parameters:
writer- Writer to write to.- Throws:
IOException- When the writer could not be written to.
-
writeToString
public static String writeToString(Mandant client, WorkflowTask task, IMessageLocalizer localizer, ITaskFlowAnalysis analysis, FlowGraphToGraphDotConverterSettings settings) Creates a dot file with the flow graph of the given task, using the given flow graph analysis result.- Parameters:
client- Client scope where the task is located.task- Workflow task that was analyzed.localizer- Localizer for the localized messages in the diagram.analysis- Flow analysis of the task.settings- Settings for the conversion.- Returns:
- A string with the dot file for the flow graph of the analysis.
-