Interface Validation.Context
- All Known Subinterfaces:
Validation.ChangeContext
- Enclosing class:
- Validation
public static interface Validation.Context
-
Method Summary
Modifier and TypeMethodDescriptionAuxiliary deploy state of the application.default void
Report a failed validation which cannot be overridden; this results in anIllegalArgumentException
.void
Report a failed validation which cannot be overridden; this results in anIllegalArgumentException
.void
Report a failed validation which can be overridden; this results in aValidationOverrides.ValidationException
.model()
The model to validate.
-
Method Details
-
deployState
DeployState deployState()Auxiliary deploy state of the application. -
model
VespaModel model()The model to validate. -
illegal
Report a failed validation which cannot be overridden; this results in anIllegalArgumentException
. -
illegal
Report a failed validation which cannot be overridden; this results in anIllegalArgumentException
. -
invalid
Report a failed validation which can be overridden; this results in aValidationOverrides.ValidationException
.
-