Interface WorkflowAttributeRegister<T>
- Type Parameters:
T- the type of data returned by the register
public interface WorkflowAttributeRegister<T>
Interface for implementing custom workflow attribute registers. WorkflowAttributeRegister
provides the mechanism for loading and registering transient attributes from external sources
during workflow execution.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionregisterAttribute(WorkflowExecutionContext context, Register register) Registers attributes by loading data from external sources and returns the loaded data for use in the workflow.
-
Method Details
-
registerAttribute
Registers attributes by loading data from external sources and returns the loaded data for use in the workflow.- Parameters:
context- the execution contextregister- the register definition containing type, value, and arguments- Returns:
- the loaded data to be registered as transient attributes
- Throws:
WorkflowException- if there's an error loading the data
-