java.lang.Object | |
↳ | com.urbanairship.json.JsonPredicate.Builder |
Builder class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JsonPredicate.Builder |
addMatcher(JsonMatcher matcher)
Adds a JsonMatcher.
| ||||||||||
JsonPredicate.Builder |
addPredicate(JsonPredicate predicate)
Adds a JsonPredicate.
| ||||||||||
JsonPredicate |
build()
Builds the JsonPredicate instance.
| ||||||||||
JsonPredicate.Builder |
setPredicateType(String type)
Sets the predicate type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a JsonMatcher.
matcher | The JsonMatcher instance. |
---|
Adds a JsonPredicate.
predicate | The JsonPredicate instance. |
---|
Builds the JsonPredicate instance.
IllegalArgumentException | if a NOT predicate has more than one matcher or predicate defined, or if the predicate does not contain at least 1 child predicate or matcher. |
---|
Sets the predicate type. If type NOT, only one matcher or predicate is allowed to be added.
type | The predicate type. |
---|