public abstract class BaseMutableStateValidator extends Object implements MutableStateValidator
Constructor and Description |
---|
BaseMutableStateValidator(MutableStateValidator parent) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
calculateIsSync() |
protected void |
checkSync() |
MutableStateValidator |
getParent()
Returns the parent of this schema.
|
ValidatorPriority |
getPriority()
Returns the priority
|
protected void |
initializeIsSync() |
boolean |
isSync()
Returns true if this validator can actually provide a synchronous validation
|
void |
triggerUpdateIsSync()
Manually trigger the sync state update
|
protected Future<Void> |
validateSyncAsAsync(ValidatorContext context,
Object in) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateAsync
validateSync
public BaseMutableStateValidator(MutableStateValidator parent)
public abstract boolean calculateIsSync()
protected Future<Void> validateSyncAsAsync(ValidatorContext context, Object in)
protected void initializeIsSync()
public void triggerUpdateIsSync()
MutableStateValidator
triggerUpdateIsSync
in interface MutableStateValidator
public MutableStateValidator getParent()
MutableStateValidator
getParent
in interface MutableStateValidator
protected void checkSync() throws ValidationException, NoSyncValidationException
public boolean isSync()
Validator
public ValidatorPriority getPriority()
PriorityGetter
getPriority
in interface PriorityGetter
Copyright © 2024 Eclipse. All rights reserved.