public static final class OrCondition.Builder extends Object implements Condition.Builder
OrCondition
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
Condition |
build() |
OrCondition.Builder |
condition(Condition.Builder conditionBuilder)
Adds a condition to the OR expression.
|
OrCondition.Builder |
conditions(Condition.Builder... conditionBuilders)
Adds the conditions to the OR expression.
|
public OrCondition.Builder condition(Condition.Builder conditionBuilder)
conditionBuilder
- Instance of Condition.Builder
.
Note that the
Condition
object is not built until the OrCondition
is built so any
modifications on the state builder will be reflected in this object.public OrCondition.Builder conditions(Condition.Builder... conditionBuilders)
conditionBuilders
- Instances of Condition.Builder
.
Note that the
Condition
object is not built until the OrCondition
is built so any
modifications on the state builder will be reflected in this object.public Condition build()
build
in interface Buildable<Condition>
OrCondition
object.