Interface WorkflowInputValidator
public interface WorkflowInputValidator
Interface for implementing custom workflow input validators. WorkflowInputValidator provides the
mechanism for validating input data before workflow transitions are executed, ensuring data
integrity and business rule compliance.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(WorkflowExecutionContext context, Validator validator) Validates the input data against the validator rules and throws an exception if validation fails.
-
Method Details
-
validate
Validates the input data against the validator rules and throws an exception if validation fails.- Parameters:
context- the execution contextvalidator- the validator definition containing type, value, and arguments- Throws:
WorkflowException- if validation fails
-