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 TypeMethodDescriptionvoidwrite(WorkflowDefinition workflowDefinition, Writer writer) Writes a workflow definition to the specified writer.
-
Method Details
-
write
Writes a workflow definition to the specified writer.- Parameters:
workflowDefinition- the workflow to writewriter- the output writer to write the workflow to- Throws:
Exception- if there's an error writing or serializing the workflow
-