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 Summary
Modifier and TypeMethodDescriptiondefault voidaliasRegister(String name, String value) Creates an alias-based register with the specified value and no arguments.voidCreates an alias-based register with the specified value and arguments.build()Builds the Register instance with all configured properties.voidscriptRegister(String value, String name, String script) Creates a script-based register with the specified value and script.voidstaticRegister(String name, String value)
-
Method Details
-
scriptRegister
Creates a script-based register with the specified value and script.- Parameters:
name- the register identifierscript- the script to execute
-
aliasRegister
Creates an alias-based register with the specified value and arguments.- Parameters:
value- the register value/identifierargs- the arguments for the register
-
staticRegister
-
aliasRegister
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
-