When.LogicalCondition, When.LogicalOperator, When.PropertyCondition
Modifier and Type | Field and Description |
---|---|
private Map<Property<?>,String> |
properties |
Constructor and Description |
---|
PropertyCondition() |
Modifier and Type | Method and Description |
---|---|
JsonElement |
get() |
private static <T extends Comparable<T>> |
name(Property<T> property,
Stream<T> valueStream) |
private static <T extends Comparable<T>> |
name(Property<T> property,
T value,
T[] otherValues) |
private <T extends Comparable<T>> |
set(Property<T> property,
String value) |
<T extends Comparable<T>> |
set(Property<T> property,
T value) |
<T extends Comparable<T>> |
set(Property<T> property,
T value,
T[] otherValues) |
void |
validate(StateManager<?,?> stateManager) |
private static <T extends Comparable<T>> String name(Property<T> property, Stream<T> valueStream)
private static <T extends Comparable<T>> String name(Property<T> property, T value, T[] otherValues)
private <T extends Comparable<T>> void set(Property<T> property, String value)
public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value)
@SafeVarargs public final <T extends Comparable<T>> When.PropertyCondition set(Property<T> property, T value, T[] otherValues)
public JsonElement get()
get
in interface Supplier<JsonElement>
public void validate(StateManager<?,?> stateManager)