Interface WorkflowDefinitionWriter


public interface WorkflowDefinitionWriter
Interface for writing workflow definitions to various output formats. WorkflowWriter provides a way to serialize Workflow objects into different formats (such as YAML, JSON, XML) for storage, export, or transmission.
Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(WorkflowDefinition workflowDefinition, Writer writer)
    Writes a workflow definition to the specified writer.
  • Method Details

    • write

      void write(WorkflowDefinition workflowDefinition, Writer writer) throws Exception
      Writes a workflow definition to the specified writer.
      Parameters:
      workflowDefinition - the workflow to write
      writer - the output writer to write the workflow to
      Throws:
      Exception - if there's an error writing or serializing the workflow