Package com.adobe.granite.contexthub.api
Enum ContextHubCache.CodeType
- java.lang.Object
-
- java.lang.Enum<ContextHubCache.CodeType>
-
- com.adobe.granite.contexthub.api.ContextHubCache.CodeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ContextHubCache.CodeType>
- Enclosing interface:
- ContextHubCache
public static enum ContextHubCache.CodeType extends Enum<ContextHubCache.CodeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KERNEL_JS
KERNEL_MIN_JS
UI_JS
UI_MIN_JS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileName()
String
toString()
static ContextHubCache.CodeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContextHubCache.CodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KERNEL_JS
public static final ContextHubCache.CodeType KERNEL_JS
-
UI_JS
public static final ContextHubCache.CodeType UI_JS
-
KERNEL_MIN_JS
public static final ContextHubCache.CodeType KERNEL_MIN_JS
-
UI_MIN_JS
public static final ContextHubCache.CodeType UI_MIN_JS
-
-
Method Detail
-
values
public static ContextHubCache.CodeType[] 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 (ContextHubCache.CodeType c : ContextHubCache.CodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextHubCache.CodeType 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
-
fileName
public String fileName()
-
toString
public String toString()
- Overrides:
toString
in classEnum<ContextHubCache.CodeType>
-
-