public static class ConstValidatorFactory.ConstValidator extends BaseSyncValidator
| Constructor and Description |
|---|
ConstValidator(Object allowedValue) |
| Modifier and Type | Method and Description |
|---|---|
ValidatorPriority |
getPriority()
Returns the priority
|
void |
validateSync(ValidatorContext context,
Object in)
Validate the provided value
|
isSyncpublic ConstValidator(Object allowedValue)
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 © 2022 Eclipse. All rights reserved.