public final class FunctionDefinitionOnWorkflowBuilder extends BaseFunctionDefinitionBuilder<FunctionDefinitionOnWorkflowBuilder>
FunctionDefinition instances at the workflow level.| Modifier and Type | Method and Description |
|---|---|
FunctionDefinitionBuilder |
onExecution(FunctionExecutionOnWorkflow execution)
Sets the execution.
|
FunctionDefinitionBuilder |
onExecution(java.util.function.Supplier<FunctionExecutionOnWorkflow> supplier)
Sets the execution.
|
FunctionDefinitionOnWorkflowBuilder |
onValidation(FunctionValidationOnWorkflow validation)
Sets the validation.
|
disableAlert, withDescription, withDescription, withInputs, withLabel, withLabel, withOutputspublic FunctionDefinitionOnWorkflowBuilder onValidation(FunctionValidationOnWorkflow validation)
The validation instance should be stateless.
FunctionDefinition.getValidation()public FunctionDefinitionBuilder onExecution(FunctionExecutionOnWorkflow execution)
The execution instance should be stateless.
public FunctionDefinitionBuilder onExecution(java.util.function.Supplier<FunctionExecutionOnWorkflow> supplier)
FunctionDefinition.getExecution()