Class FlowchartToBpmnConverterInput.Builder
java.lang.Object
de.xima.fc.workflow.converter.bpmn.FlowchartToBpmnConverterInput.Builder
- Enclosing class:
FlowchartToBpmnConverterInput
Builder for constructing a
FlowchartToBpmnConverterInput.- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newFlowchartToBpmnConverterInputinstance with the current settings.Sets the clock used for date and time operations.exporterName(String exporterName) Sets the name of the exporter that creates the BPMN XML file.exporterVersion(String exporterVersion) Sets the version of the exporter that creates the BPMN XML file.states(List<WorkflowState> states) Sets the list of workflow states available for the process being converted.taskFilter(Predicate<WorkflowTask> taskFilter) Sets the filter for workflow tasks.temporalFormatter(IPresetTemporalFormatter temporalFormatter) Sets the temporal formatter used for formatting date and time values in the BPMN diagram.Sets the system zone ID used for date and time operations.
-
Method Details
-
build
Creates a newFlowchartToBpmnConverterInputinstance with the current settings.- Returns:
- A new flowchart to BPMN converter input instance.
-
clock
Sets the clock used for date and time operations. Default to the system default zone clock.- Parameters:
clock- The clock to use.- Returns:
- This builder instance for method chaining.
-
exporterName
Sets the name of the exporter that creates the BPMN XML file. Default to the application name.- Parameters:
exporterName- The name of the exporter.- Returns:
- This builder instance for method chaining.
-
exporterVersion
Sets the version of the exporter that creates the BPMN XML file. Default to the application version or timestamp.- Parameters:
exporterVersion- The version of the exporter.- Returns:
- This builder instance for method chaining.
-
states
Sets the list of workflow states available for the process being converted.- Parameters:
states- The list of workflow states.- Returns:
- This builder instance for method chaining.
-
taskFilter
Sets the filter for workflow tasks. Only tasks for which this filter returns true will be included in the converted BPMN diagram.- Parameters:
taskFilter- The filter for workflow tasks.- Returns:
- This builder instance for method chaining.
-
temporalFormatter
public FlowchartToBpmnConverterInput.Builder temporalFormatter(IPresetTemporalFormatter temporalFormatter) Sets the temporal formatter used for formatting date and time values in the BPMN diagram.- Parameters:
temporalFormatter- The temporal formatter to use.- Returns:
- This builder instance for method chaining.
-
zone
Sets the system zone ID used for date and time operations.- Parameters:
zone- The system zone ID.- Returns:
- This builder instance for method chaining.
-