Interface Validatable

All Known Subinterfaces:
Capability, Condition, ConditionalResult, ConditionGroup, DefaultResult, Fork, Function, Join, Model<SELF,ID>, MutableWorkflowDefinition, Register, Result<E>, State, Transition, Validator, WorkflowDefinition

public interface Validatable
Interface for objects that can be validated. Validatable provides the contract for performing validation on workflow model elements and returning a list of validation errors if any issues are found.
Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Validates this object and returns a list of validation errors.
  • Method Details

    • validate

      List<ValidationError> validate()
      Validates this object and returns a list of validation errors. If the object is valid, an empty list is returned.
      Returns:
      a list of validation errors, or an empty list if validation passes