public class ReportPointTimestampInRangeFilter extends AnnotatedPredicate<ReportPoint>
Constructor and Description |
---|
ReportPointTimestampInRangeFilter(int hoursInPastAllowed,
int hoursInFutureAllowed) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ReportPoint point) |
String |
getMessage(ReportPoint point)
If special handling is needed based on the result of apply(), override getMessage() to return more details
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, isEqual, negate, or
public ReportPointTimestampInRangeFilter(int hoursInPastAllowed, int hoursInFutureAllowed)
public boolean apply(@Nonnull ReportPoint point)
apply
in class AnnotatedPredicate<ReportPoint>
public String getMessage(ReportPoint point)
AnnotatedPredicate
getMessage
in class AnnotatedPredicate<ReportPoint>
Copyright © 2019. All rights reserved.