public abstract class AbstractFutureInstantBasedValidator<T> extends AbstractInstantBasedTimeValidator<Future,T>
@Future
validators that use an Instant
to be compared to the time reference.referenceClock
Constructor and Description |
---|
AbstractFutureInstantBasedValidator() |
Modifier and Type | Method and Description |
---|---|
protected Duration |
getEffectiveTemporalValidationTolerance(Duration absoluteTemporalValidationTolerance)
Returns the temporal validation tolerance to apply.
|
protected boolean |
isValid(int result)
Returns whether the result of the comparison between the validated value and the time reference is considered
valid.
|
getInstant, initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
protected boolean isValid(int result)
AbstractInstantBasedTimeValidator
isValid
in class AbstractInstantBasedTimeValidator<Future,T>
protected Duration getEffectiveTemporalValidationTolerance(Duration absoluteTemporalValidationTolerance)
AbstractInstantBasedTimeValidator
getEffectiveTemporalValidationTolerance
in class AbstractInstantBasedTimeValidator<Future,T>
Copyright © 2021 JBoss by Red Hat. All rights reserved.