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 Type
    Method
    Description
    Registers attributes by loading data from external sources and returns the loaded data for use in the workflow.
  • Method Details

    • registerAttribute

      T registerAttribute(WorkflowExecutionContext context, Register register) throws WorkflowException
      Registers attributes by loading data from external sources and returns the loaded data for use in the workflow.
      Parameters:
      context - the execution context
      register - 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