public static class EnumValidatorFactory.EnumValidator extends BaseSyncValidator
Constructor and Description |
---|
EnumValidator(Set allowedValues) |
Modifier and Type | Method and Description |
---|---|
ValidatorPriority |
getPriority()
Returns the priority
|
void |
validateSync(ValidatorContext context,
Object in)
Validate the provided value
|
isSync
public EnumValidator(Set allowedValues)
public ValidatorPriority getPriority()
PriorityGetter
getPriority
in interface PriorityGetter
getPriority
in class BaseSyncValidator
public void validateSync(ValidatorContext context, Object in) throws ValidationException
SyncValidator
ValidationException
- if the object is not validCopyright © 2024 Eclipse. All rights reserved.