Interface RegisterBuilder


public interface RegisterBuilder
Builder interface for creating Register instances. This builder provides methods for configuring workflow registers using either script-based or alias-based register definitions.
Since:
1.0
See Also:
  • Method Details

    • scriptRegister

      void scriptRegister(String value, String name, String script)
      Creates a script-based register with the specified value and script.
      Parameters:
      name - the register identifier
      script - the script to execute
    • aliasRegister

      void aliasRegister(String name, String value, Map<String,String> args)
      Creates an alias-based register with the specified value and arguments.
      Parameters:
      value - the register value/identifier
      args - the arguments for the register
    • staticRegister

      void staticRegister(String name, String value)
    • aliasRegister

      default void aliasRegister(String name, String value)
      Creates an alias-based register with the specified value and no arguments.
      Parameters:
      value - the register value/identifier
    • build

      Register build()
      Builds the Register instance with all configured properties.
      Returns:
      a new Register instance