public static class ConditionBlock.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConditionBlock |
build() |
ConditionBlock.Builder |
conditionBlocks(List<ConditionBlock> conditionBlocks)
Condition blocks to evaluate within this condition block.
|
ConditionBlock.Builder |
conditionBlocksOperator(ConditionBlock.ConditionBlocksOperator conditionBlocksOperator)
Operator using which the conditionBlocks should be joined.
|
ConditionBlock.Builder |
copy(ConditionBlock model) |
ConditionBlock.Builder |
fieldName(String fieldName)
The name of the field the condition is based on.
|
ConditionBlock.Builder |
labelConditionOperator(String labelConditionOperator)
The condition operator.
|
ConditionBlock.Builder |
labelConditionValue(String labelConditionValue)
The condition value.
|
ConditionBlock.Builder |
labelConditionValues(List<String> labelConditionValues)
A list of condition values.
|
public ConditionBlock.Builder conditionBlocksOperator(ConditionBlock.ConditionBlocksOperator conditionBlocksOperator)
Operator using which the conditionBlocks should be joined. Specify this for nested conditions.
conditionBlocksOperator
- the value to setpublic ConditionBlock.Builder fieldName(String fieldName)
The name of the field the condition is based on. Specify this if this condition block represents a single condition.
fieldName
- the value to setpublic ConditionBlock.Builder labelConditionOperator(String labelConditionOperator)
The condition operator. Specify this if this condition block represents a single condition.
labelConditionOperator
- the value to setpublic ConditionBlock.Builder labelConditionValue(String labelConditionValue)
The condition value. Specify this if this condition block represents a single condition.
labelConditionValue
- the value to setpublic ConditionBlock.Builder labelConditionValues(List<String> labelConditionValues)
A list of condition values. Specify this if this condition block represents a single condition.
labelConditionValues
- the value to setpublic ConditionBlock.Builder conditionBlocks(List<ConditionBlock> conditionBlocks)
Condition blocks to evaluate within this condition block. Specify this for nested conditions.
conditionBlocks
- the value to setpublic ConditionBlock build()
public ConditionBlock.Builder copy(ConditionBlock model)
Copyright © 2016–2024. All rights reserved.