Interface ValidationHintResolver

All Known Implementing Classes:
BeanValidationHintResolver

public interface ValidationHintResolver
A strategy for resolving String-based hints to Objects such as validation groups against a JSR-303 provider.
Since:
2.4
Author:
Rossen Stoyanchev
  • Method Details

    • resolveValidationHints

      Object[] resolveValidationHints(Object model, String flowId, String stateId, String[] hints)
      Resolve the given String hints. Implementations may raise a FlowExecutionException if a hint cannot be resolved.
      Parameters:
      model - the model object that will be validated using the hints
      flowId - the current flow id
      stateId - the current state id
      hints - the hints to resolve
      Returns:
      an array of resolved hints