Enum SessionAttributeMetadata.Operation
- java.lang.Object
-
- java.lang.Enum<SessionAttributeMetadata.Operation>
-
- org.glassfish.web.ha.session.management.SessionAttributeMetadata.Operation
-
- All Implemented Interfaces:
Serializable
,Comparable<SessionAttributeMetadata.Operation>
- Enclosing class:
- SessionAttributeMetadata
public static enum SessionAttributeMetadata.Operation extends Enum<SessionAttributeMetadata.Operation>
Operation to be performed on this attribute
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionAttributeMetadata.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SessionAttributeMetadata.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final SessionAttributeMetadata.Operation ADD
-
DELETE
public static final SessionAttributeMetadata.Operation DELETE
-
UPDATE
public static final SessionAttributeMetadata.Operation UPDATE
-
-
Method Detail
-
values
public static SessionAttributeMetadata.Operation[] 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 (SessionAttributeMetadata.Operation c : SessionAttributeMetadata.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionAttributeMetadata.Operation 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
-
-