Package org.omnifaces.resourcehandler
Enum WebAppManifest.Platform
- java.lang.Object
-
- java.lang.Enum<WebAppManifest.Platform>
-
- org.omnifaces.resourcehandler.WebAppManifest.Platform
-
- All Implemented Interfaces:
Serializable
,Comparable<WebAppManifest.Platform>
- Enclosing class:
- WebAppManifest
protected static enum WebAppManifest.Platform extends Enum<WebAppManifest.Platform>
Enumeration of related application platforms, to be used inWebAppManifest.RelatedApplication.getPlatform()
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHROME_WEB_STORE
ITUNES
PLAY
WINDOWS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static WebAppManifest.Platform
valueOf(String name)
Returns the enum constant of this type with the specified name.static WebAppManifest.Platform[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHROME_WEB_STORE
public static final WebAppManifest.Platform CHROME_WEB_STORE
-
PLAY
public static final WebAppManifest.Platform PLAY
-
ITUNES
public static final WebAppManifest.Platform ITUNES
-
WINDOWS
public static final WebAppManifest.Platform WINDOWS
-
-
Method Detail
-
values
public static WebAppManifest.Platform[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WebAppManifest.Platform c : WebAppManifest.Platform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebAppManifest.Platform valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<WebAppManifest.Platform>
-
-