public class TriggerExpression extends Object implements Expression
Expression.Builder, Expression.Predicate| Constructor and Description |
|---|
TriggerExpression(CounterLimit counter,
Expression.Predicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
clone()
Return cloned copy of this expression.
|
boolean |
equals(Object other) |
boolean |
evaluate(long current)
Evaluate current value against this expression.
|
CounterLimit |
getCounterLimit()
Return counter limit
|
Expression.Predicate |
getPredicate()
Return predicate defined in the expression.
|
int |
hashCode() |
String |
toString() |
public TriggerExpression(CounterLimit counter, Expression.Predicate predicate)
public boolean evaluate(long current)
Expressionevaluate in interface Expressioncurrent - - current value against which expression will be evaluatedpublic CounterLimit getCounterLimit()
ExpressiongetCounterLimit in interface Expressionpublic Expression.Predicate getPredicate()
ExpressiongetPredicate in interface Expressionpublic Expression clone()
Expressionclone in interface Expressionclone in class ObjectCopyright © 2019 The Apache Software Foundation. All Rights Reserved.