public static final class NumericEqualsCondition.Builder extends Object
NumericEqualsCondition
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
NumericEqualsCondition |
build() |
NumericEqualsCondition.Builder |
expectedValue(double expectedValue)
Sets the expected value for this condition.
|
NumericEqualsCondition.Builder |
expectedValue(long expectedValue)
Sets the expected value for this condition.
|
NumericEqualsCondition.Builder |
variable(String variable)
Sets the JSONPath expression that determines which piece of the input document is used for the comparison.
|
public NumericEqualsCondition.Builder variable(String variable)
variable
- Reference path.public NumericEqualsCondition.Builder expectedValue(long expectedValue)
expectedValue
- Expected value.public NumericEqualsCondition.Builder expectedValue(double expectedValue)
expectedValue
- Expected value.public NumericEqualsCondition build()
NumericEqualsCondition
object.