public enum TargetPlatform extends Enum<TargetPlatform>
Java class for TargetPlatform.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TargetPlatform">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="WEB"/>
<enumeration value="MOBILE"/>
<enumeration value="ANY"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANY
An universal target platform that combines mobile and desktop features.
|
MOBILE
Mobile devices.
|
WEB
The desktop web.
|
| Modifier and Type | Method and Description |
|---|---|
static TargetPlatform |
fromValue(String v) |
String |
value() |
static TargetPlatform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetPlatform WEB
public static final TargetPlatform MOBILE
public static final TargetPlatform ANY
public static TargetPlatform[] values()
for (TargetPlatform c : TargetPlatform.values()) System.out.println(c);
public static TargetPlatform 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 value()
public static TargetPlatform fromValue(String v)
Copyright © 2018. All Rights Reserved.