| Modifier and Type | Class and Description |
|---|---|
static class |
Condition.FalseCondition
A
Condition that has evaluated to false. |
static class |
Condition.TrueCondition
A
Condition that has evaluated to true. |
| Modifier and Type | Field and Description |
|---|---|
static Condition |
Condition.FALSE |
static Condition |
Condition.TRUE |
| Modifier and Type | Field and Description |
|---|---|
static Map<Boolean,Condition> |
Condition.CONDITIONS |
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.and(boolean clause)
Logically AND combine the current
Condition with the clause. |
Condition |
Condition.TrueCondition.and(boolean clause) |
Condition |
Condition.FalseCondition.and(boolean clause) |
default Condition |
Condition.andNot(boolean clause)
Logically AND combine the current
Condition with boolean opposite of the clause. |
Condition |
Condition.or(boolean clause)
Logically OR combine the current
Condition with the clause. |
Condition |
Condition.TrueCondition.or(boolean secondClause) |
Condition |
Condition.FalseCondition.or(boolean secondClause) |
default Condition |
Condition.orNot(boolean clause)
Logically OR combine the current
Condition with the boolean opposite of the clause. |
default Condition |
Condition.otherwise(boolean clause)
Create a new
Condition for the clause as a continuation to an existing Condition. |
Condition |
Condition.then(Runnable response)
Perform this response if the
Condition is true. |
Condition |
Condition.TrueCondition.then(Runnable response) |
Condition |
Condition.FalseCondition.then(Runnable response) |
static Condition |
Condition.where(boolean clause)
Create a new
Condition for the clause. |
static Condition |
Condition.whereNot(boolean clause)
Create a new
Condition for the boolean opposite of the clause. |
Copyright © 2015–2017. All rights reserved.