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
|
isSyncpublic EnumValidator(Set allowedValues)
public ValidatorPriority getPriority()
PriorityGettergetPriority in interface PriorityGettergetPriority in class BaseSyncValidatorpublic void validateSync(ValidatorContext context, Object in) throws ValidationException
SyncValidatorValidationException - if the object is not validCopyright © 2021 Eclipse. All rights reserved.