public class Trigger extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Trigger.Statement
Base Trigger statement.
|
Modifier and Type | Method and Description |
---|---|
static Trigger.Statement |
all(Trigger.Statement... statements)
Groups a collection of statements in an
all relationship. |
static Trigger.Statement |
any(Trigger.Statement... statements)
Groups a collection of statements in an
any relationship. |
static Trigger.Statement |
eq(int key,
Object value)
Check the property equals the given value.
|
static Trigger.Statement |
gt(int key,
Object value)
Check the property exceeds the given value.
|
static Trigger.Statement |
gte(int key,
Object value)
Check the property exceeds or equals the given value.
|
static Trigger.Statement |
lt(int key,
Object value)
Check the property does not exceeds the given value.
|
static Trigger.Statement |
lte(int key,
Object value)
Check the property equals or does not exceeds the given value.
|
static Trigger.Statement |
neq(int key,
Object value)
Check the property does not equals the given value.
|
static Trigger.Statement |
none(Trigger.Statement... statements)
Groups a collection of statements in an
none relationship. |
public static Trigger.Statement all(Trigger.Statement... statements)
all
relationship.statements
- the collection of statementspublic static Trigger.Statement any(Trigger.Statement... statements)
any
relationship.statements
- the collection of statementspublic static Trigger.Statement none(Trigger.Statement... statements)
none
relationship.statements
- the collection of statementspublic static Trigger.Statement eq(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check againstpublic static Trigger.Statement neq(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check againstpublic static Trigger.Statement gt(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check againstpublic static Trigger.Statement lt(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check againstpublic static Trigger.Statement lte(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check againstpublic static Trigger.Statement gte(int key, Object value)
key
- the property key which must be one of the constants found in TriggerProperty
value
- the value to check against© 2019 Mapbox. All rights reserved.