Interface Validation.Context

All Known Subinterfaces:
Validation.ChangeContext
Enclosing class:
Validation

public static interface Validation.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    Auxiliary deploy state of the application.
    default void
    illegal(String message)
    Report a failed validation which cannot be overridden; this results in an IllegalArgumentException.
    void
    illegal(String message, Throwable cause)
    Report a failed validation which cannot be overridden; this results in an IllegalArgumentException.
    void
    invalid(com.yahoo.config.application.api.ValidationId id, String message)
    Report a failed validation which can be overridden; this results in a ValidationOverrides.ValidationException.
    The model to validate.
  • Method Details

    • deployState

      DeployState deployState()
      Auxiliary deploy state of the application.
    • model

      VespaModel model()
      The model to validate.
    • illegal

      default void illegal(String message)
      Report a failed validation which cannot be overridden; this results in an IllegalArgumentException.
    • illegal

      void illegal(String message, Throwable cause)
      Report a failed validation which cannot be overridden; this results in an IllegalArgumentException.
    • invalid

      void invalid(com.yahoo.config.application.api.ValidationId id, String message)
      Report a failed validation which can be overridden; this results in a ValidationOverrides.ValidationException.