Interface WorkflowDefinitionReader
public interface WorkflowDefinitionReader
Interface for reading workflow definitions from various input sources. WorkflowReader provides a
way to parse workflow definitions from different formats (such as YAML, JSON, XML) and convert
them into Workflow objects.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ExtensionProvider extensionProvider, Properties properties) Initializes the reader with the necessary dependencies and configuration.Reads a workflow definition from the specified reader.
-
Method Details
-
init
Initializes the reader with the necessary dependencies and configuration.- Parameters:
extensionProvider- the extension provider for resolving extensionsproperties- the configuration properties for the reader
-
read
Reads a workflow definition from the specified reader.- Parameters:
reader- the input reader containing the workflow definition- Returns:
- the parsed Workflow object
- Throws:
Exception- if there's an error reading or parsing the workflow definition
-