public static class StatePredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private List<StatePredicate.Condition> |
conditions |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
StatePredicate |
build() |
static StatePredicate.Builder |
create() |
StatePredicate.Builder |
exactMatch(Property<?> property,
String valueName) |
StatePredicate.Builder |
exactMatch(Property<Boolean> property,
boolean value) |
StatePredicate.Builder |
exactMatch(Property<Integer> property,
int value) |
<T extends Comparable<T> & StringIdentifiable> |
exactMatch(Property<T> property,
T value) |
private final List<StatePredicate.Condition> conditions
public static StatePredicate.Builder create()
public StatePredicate.Builder exactMatch(Property<?> property, String valueName)
public StatePredicate.Builder exactMatch(Property<Integer> property, int value)
public StatePredicate.Builder exactMatch(Property<Boolean> property, boolean value)
public <T extends Comparable<T> & StringIdentifiable> StatePredicate.Builder exactMatch(Property<T> property, T value)
public StatePredicate build()