Package org.jipijapa.cache.spi
Enum Classification
- java.lang.Object
-
- java.lang.Enum<Classification>
-
- org.jipijapa.cache.spi.Classification
-
- All Implemented Interfaces:
Serializable,Comparable<Classification>
public enum Classification extends Enum<Classification>
Type of cache- Author:
- Scott Marlow
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INFINISPANNONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClassificationforName(String localName)StringgetLocalName()Get the local name of this element.static ClassificationvalueOf(String name)Returns the enum constant of this type with the specified name.static Classification[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFINISPAN
public static final Classification INFINISPAN
-
NONE
public static final Classification NONE
-
-
Method Detail
-
values
public static Classification[] 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 (Classification c : Classification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Classification 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
-
getLocalName
public String getLocalName()
Get the local name of this element.- Returns:
- the local name
-
forName
public static Classification forName(String localName)
-
-