| Modifier and Type | Method and Description |
|---|---|
static Condition |
Condition.and(Condition... conditions)
Combine two or more conditions with a logical AND.
|
static Condition |
Condition.booleanEquals(String variable,
Boolean value)
Matches if a boolean field has the given value.
|
static Condition |
Condition.not(Condition condition)
Negate a condition.
|
static Condition |
Condition.numberEquals(String variable,
Number value)
Matches if a numeric field has the given value.
|
static Condition |
Condition.numberGreaterThan(String variable,
Number value)
Matches if a numeric field is greater than the given value.
|
static Condition |
Condition.numberGreaterThanEquals(String variable,
Number value)
Matches if a numeric field is greater than or equal to the given value.
|
static Condition |
Condition.numberLessThan(String variable,
Number value)
Matches if a numeric field is less than the given value.
|
static Condition |
Condition.numberLessThanEquals(String variable,
Number value)
Matches if a numeric field is less than or equal to the given value.
|
static Condition |
Condition.or(Condition... conditions)
Combine two or more conditions with a logical OR.
|
static Condition |
Condition.stringEquals(String variable,
String value)
Matches if a string field has the given value.
|
static Condition |
Condition.stringGreaterThan(String variable,
String value)
Matches if a string field sorts after a given value.
|
static Condition |
Condition.stringGreaterThanEquals(String variable,
String value)
Matches if a string field sorts after or equal to a given value.
|
static Condition |
Condition.stringLessThan(String variable,
String value)
Matches if a string field sorts before a given value.
|
static Condition |
Condition.stringLessThanEquals(String variable,
String value)
Matches if a string field sorts equal to or before a given value.
|
static Condition |
Condition.timestampEquals(String variable,
String value)
Matches if a timestamp field is the same time as the given timestamp.
|
static Condition |
Condition.timestampGreaterThan(String variable,
String value)
Matches if a timestamp field is after the given timestamp.
|
static Condition |
Condition.timestampGreaterThanEquals(String variable,
String value)
Matches if a timestamp field is after or equal to the given timestamp.
|
static Condition |
Condition.timestampLessThan(String variable,
String value)
Matches if a timestamp field is before the given timestamp.
|
static Condition |
Condition.timestampLessThanEquals(String variable,
String value)
Matches if a timestamp field is before or equal to the given timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
State.addChoice(Condition condition,
State next)
Add a choice branch to this state.
|
static Condition |
Condition.and(Condition... conditions)
Combine two or more conditions with a logical AND.
|
static Condition |
Condition.not(Condition condition)
Negate a condition.
|
static Condition |
Condition.or(Condition... conditions)
Combine two or more conditions with a logical OR.
|
Choice |
Choice.when(Condition condition,
IChainable next)
If the given condition matches, continue execution with the given state.
|
Copyright © 2020. All rights reserved.