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)
Expression
evaluate
in interface Expression
current
- - current value against which expression will be evaluatedpublic CounterLimit getCounterLimit()
Expression
getCounterLimit
in interface Expression
public Expression.Predicate getPredicate()
Expression
getPredicate
in interface Expression
public Expression clone()
Expression
clone
in interface Expression
clone
in class Object
Copyright © 2022 The Apache Software Foundation. All rights reserved.