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 Type
    Method
    Description
    void
    Validates the input data against the validator rules and throws an exception if validation fails.
  • Method Details

    • validate

      void validate(WorkflowExecutionContext context, Validator validator) throws WorkflowException
      Validates the input data against the validator rules and throws an exception if validation fails.
      Parameters:
      context - the execution context
      validator - the validator definition containing type, value, and arguments
      Throws:
      WorkflowException - if validation fails