Uses of Class
com.yahoo.config.application.api.ValidationId
-
Packages that use ValidationId Package Description com.yahoo.config.application.api -
-
Uses of ValidationId in com.yahoo.config.application.api
Methods in com.yahoo.config.application.api that return ValidationId Modifier and Type Method Description ValidationId
ValidationOverrides.ValidationException. validationId()
Returns the unique id of this validation, which can be used tooverride
itstatic ValidationId
ValidationId. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValidationId[]
ValidationId. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.yahoo.config.application.api that return types with arguments of type ValidationId Modifier and Type Method Description static java.util.Optional<ValidationId>
ValidationId. from(java.lang.String id)
Returns the validation id from this string.Methods in com.yahoo.config.application.api with parameters of type ValidationId Modifier and Type Method Description boolean
ValidationOverrides.Allow. allows(ValidationId validationId, java.time.Instant now)
boolean
ValidationOverrides.AllowAllValidationOverrides. allows(ValidationId validationId, java.time.Instant now)
Returns whether the given (assumed invalid) change is allowed by this at the momentboolean
ValidationOverrides. allows(ValidationId validationId, java.time.Instant now)
Returns whether the given (assumed invalid) change is allowed by this at the momentvoid
ValidationOverrides.AllowAllValidationOverrides. invalid(ValidationId validationId, java.lang.String message, java.time.Instant now)
void
ValidationOverrides. invalid(ValidationId validationId, java.lang.String message, java.time.Instant now)
Throws a ValidationException unless this validation is overridden at this timestatic java.lang.String
ValidationOverrides. toAllowMessage(ValidationId id)
Constructors in com.yahoo.config.application.api with parameters of type ValidationId Constructor Description Allow(ValidationId validationId, java.time.Instant until)
-