public enum SelectorType extends java.lang.Enum<SelectorType>
Enum Constant and Description |
---|
ALIAS |
ALL |
AMAZON_CHANNEL |
AND |
ANDROID_CHANNEL |
APID |
ATTRIBUTE |
CHANNEL |
DEVICE_TOKEN |
IOS_CHANNEL |
LOCATION |
NAMED_USER |
NOT |
OPEN_CHANNEL |
OR |
SEGMENT |
SMS |
SMS_SENDER |
STATIC_LIST |
SUBSCRIPTION_LIST |
TAG |
TRIGGERED |
WNS |
Modifier and Type | Method and Description |
---|---|
SelectorCategory |
getCategory() |
java.lang.String |
getIdentifier() |
java.util.Optional<DeviceType> |
getPlatform() |
static SelectorType |
getSelectorTypeFromIdentifier(java.lang.String identifier) |
boolean |
isChannel() |
boolean |
isDeviceId() |
static SelectorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectorType TAG
public static final SelectorType ALIAS
public static final SelectorType SEGMENT
public static final SelectorType NAMED_USER
public static final SelectorType STATIC_LIST
public static final SelectorType ATTRIBUTE
public static final SelectorType SUBSCRIPTION_LIST
public static final SelectorType DEVICE_TOKEN
public static final SelectorType APID
public static final SelectorType WNS
public static final SelectorType AMAZON_CHANNEL
public static final SelectorType IOS_CHANNEL
public static final SelectorType ANDROID_CHANNEL
public static final SelectorType OPEN_CHANNEL
public static final SelectorType CHANNEL
public static final SelectorType AND
public static final SelectorType OR
public static final SelectorType NOT
public static final SelectorType LOCATION
public static final SelectorType SMS
public static final SelectorType SMS_SENDER
public static final SelectorType ALL
public static final SelectorType TRIGGERED
public static SelectorType[] values()
for (SelectorType c : SelectorType.values()) System.out.println(c);
public static SelectorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getIdentifier()
public SelectorCategory getCategory()
public boolean isDeviceId()
public boolean isChannel()
public java.util.Optional<DeviceType> getPlatform()
public static SelectorType getSelectorTypeFromIdentifier(java.lang.String identifier)