Class FlowchartToBpmnConverterInput.Builder

java.lang.Object
de.xima.fc.workflow.converter.bpmn.FlowchartToBpmnConverterInput.Builder
Enclosing class:
FlowchartToBpmnConverterInput

public static final class FlowchartToBpmnConverterInput.Builder extends Object
Builder for constructing a FlowchartToBpmnConverterInput.
Since:
8.4.0
  • Method Details

    • build

      Creates a new FlowchartToBpmnConverterInput instance 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

      public FlowchartToBpmnConverterInput.Builder exporterName(String 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

      public FlowchartToBpmnConverterInput.Builder exporterVersion(String 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.