public enum VariantType extends Enum<VariantType>
| Enum Constant and Description |
|---|
ANDROID
The type identifier for our Android variants.
|
CHROME_PACKAGED_APP
The type identifier for our Chrome Packaged App variants.
|
IOS
The type identifier for our iOS variants.
|
SIMPLE_PUSH
The type identifier for our SimplePush variants.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeName()
Returns the actual type name of the variant type
|
static VariantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariantType ANDROID
public static final VariantType IOS
public static final VariantType SIMPLE_PUSH
public static final VariantType CHROME_PACKAGED_APP
public static VariantType[] values()
for (VariantType c : VariantType.values()) System.out.println(c);
public static VariantType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTypeName()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.