Class FlowchartToBpmnConverterInput.Builder

    • Method Detail

      • clock

        public FlowchartToBpmnConverterInput.Builder clock​(Clock 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

        public FlowchartToBpmnConverterInput.Builder states​(List<WorkflowState> 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

        public FlowchartToBpmnConverterInput.Builder taskFilter​(Predicate<WorkflowTask> 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

        public FlowchartToBpmnConverterInput.Builder zone​(ZoneId 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.