Package com.yworkflow.instance.extension
Interface WorkflowInstanceInputValidator
- All Superinterfaces:
WorkflowInstanceExtension
Interface for implementing custom workflow instance input validators.
WorkflowInstanceInputValidator provides a way to validate workflow inputs during workflow
instance execution, with access to the workflow instance context and validator configuration.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(WorkflowExecutionContext context, Validator validator, Attributes args) Validates workflow inputs based on the validator configuration.Methods inherited from interface com.yworkflow.instance.extension.WorkflowInstanceExtension
getPriority, getRegistration
-
Method Details
-
validate
void validate(WorkflowExecutionContext context, Validator validator, Attributes args) throws WorkflowException Validates workflow inputs based on the validator configuration.- Parameters:
context- the workflow instance contextvalidator- the validator configurationargs- input validator args- Throws:
WorkflowException- if validation fails
-