java.lang.Object | |
↳ | com.urbanairship.automation.tags.TagSelector |
Tag selector.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TagSelector(DeviceTagSelector core) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static TagSelector |
and(TagSelector... selectors)
Creates an AND tag selector.
| ||||||||||
static TagSelector |
and(List<TagSelector> selectors)
Creates an AND tag selector.
| ||||||||||
boolean | equals(Object o) | ||||||||||
static TagSelector |
fromJson(JsonValue value)
Parses a json value for a tag selector.
| ||||||||||
DeviceTagSelector | getTagSelector() | ||||||||||
int | hashCode() | ||||||||||
static TagSelector |
not(TagSelector selector)
Creates an NOT tag selector.
| ||||||||||
static TagSelector |
or(TagSelector... selectors)
Creates an OR tag selector.
| ||||||||||
static TagSelector |
or(List<TagSelector> selectors)
Creates an OR tag selector.
| ||||||||||
static TagSelector |
tag(String tag)
Creates a tag selector that checks for tag.
| ||||||||||
JsonValue |
toJsonValue()
Returns the objects represented as a JsonValue.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.urbanairship.json.JsonSerializable
|
Creates an AND tag selector.
selectors | The selectors to AND together. |
---|
Creates an AND tag selector.
selectors | The selectors to AND together. |
---|
Parses a json value for a tag selector.
value | The json value. |
---|
JsonException | If the json value does not contain a valid tag selector. |
---|
Creates an NOT tag selector.
selector | The selectors to negate. |
---|
Creates an OR tag selector.
selectors | The selectors to OR together. |
---|
Creates an OR tag selector.
selectors | The selectors to OR together. |
---|
Creates a tag selector that checks for tag.
tag | The tag. |
---|
Returns the objects represented as a JsonValue.