static class StatePredicate.ExactValueCondition extends StatePredicate.Condition
Constructor and Description |
---|
ExactValueCondition(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
protected <T extends Comparable<T>> |
test(State<?,?> state,
Property<T> property) |
JsonElement |
toJson() |
getKey, reportMissing, test
private final String value
protected <T extends Comparable<T>> boolean test(State<?,?> state, Property<T> property)
test
in class StatePredicate.Condition
public JsonElement toJson()
toJson
in class StatePredicate.Condition