Uses of Enum Class
com.yahoo.config.application.api.ValidationId
-
Uses of ValidationId in com.yahoo.config.application.api
Modifier and TypeMethodDescriptionstatic ValidationId
Returns the enum constant of this class with the specified name.static ValidationId[]
ValidationId.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional<ValidationId>
Returns the validation id from this string.ValidationOverrides.ValidationException.messagesById()
Modifier and TypeMethodDescriptionboolean
ValidationOverrides.Allow.allows
(ValidationId validationId, Instant now) boolean
ValidationOverrides.allows
(ValidationId validationId, Instant now) Returns whether the given (assumed invalid) change is allowed by this at the momentvoid
ValidationOverrides.invalid
(ValidationId validationId, String message, Instant now) Throws a ValidationException unless this validation is overridden at this timestatic String
ValidationOverrides.toAllowMessage
(ValidationId id) Modifier and TypeMethodDescriptionvoid
ValidationOverrides.invalid
(Map<ValidationId, ? extends Collection<String>> messagesByValidationId, Instant now) Throws a ValidationException unless all given validation is overridden at this time -
Uses of ValidationId in com.yahoo.config.model.api
Modifier and TypeMethodDescriptiondefault Optional<ValidationId>
ConfigChangeAction.validationId()
When this is non-empty, validation may fail unless this validation id is allowed by validation overrides.