Enum InterfaceInstance.CacheLevel
- java.lang.Object
-
- java.lang.Enum<InterfaceInstance.CacheLevel>
-
- lumis.portal.structure.sync.model.page.InterfaceInstance.CacheLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<InterfaceInstance.CacheLevel>
- Enclosing class:
- InterfaceInstance
public static enum InterfaceInstance.CacheLevel extends Enum<InterfaceInstance.CacheLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INHERIT
LOCAL
PAGE_TEMPLATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterfaceInstance.CacheLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterfaceInstance.CacheLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final InterfaceInstance.CacheLevel LOCAL
-
PAGE_TEMPLATE
public static final InterfaceInstance.CacheLevel PAGE_TEMPLATE
-
INHERIT
public static final InterfaceInstance.CacheLevel INHERIT
-
-
Method Detail
-
values
public static InterfaceInstance.CacheLevel[] 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 (InterfaceInstance.CacheLevel c : InterfaceInstance.CacheLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceInstance.CacheLevel 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
-
-