public class LessPredicate<T> extends ComparisonPredicate<T>
Resource property.| Constructor and Description |
|---|
LessPredicate(String propertyId,
Comparable<T> value)
Construct a LessPredicate.
|
| Modifier and Type | Method and Description |
|---|---|
ComparisonPredicate<T> |
copy(String propertyId) |
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
String |
getOperator() |
accept, compareValueTo, compareValueToIgnoreCase, equals, getValue, hashCode, toStringgetPropertyId, getPropertyIdsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyIdspublic LessPredicate(String propertyId, Comparable<T> value)
propertyId - the property idvalue - the valueIllegalArgumentException - if the given value is nullpublic boolean evaluate(Resource resource)
Predicateresource - the resource to evaluate the predicate againstpublic String getOperator()
getOperator in class ComparisonPredicate<T>public ComparisonPredicate<T> copy(String propertyId)
copy in class ComparisonPredicate<T>Copyright © 2022 Apache Software Foundation. All rights reserved.