Package com.composum.sling.nodes.servlet
Enum PropertyServlet.Operation
- java.lang.Object
-
- java.lang.Enum<PropertyServlet.Operation>
-
- com.composum.sling.nodes.servlet.PropertyServlet.Operation
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyServlet.Operation>
- Enclosing class:
- PropertyServlet
public static enum PropertyServlet.Operation extends Enum<PropertyServlet.Operation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyServlet.Operation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyServlet.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
get
public static final PropertyServlet.Operation get
-
put
public static final PropertyServlet.Operation put
-
update
public static final PropertyServlet.Operation update
-
map
public static final PropertyServlet.Operation map
-
copy
public static final PropertyServlet.Operation copy
-
remove
public static final PropertyServlet.Operation remove
-
xss
public static final PropertyServlet.Operation xss
-
-
Method Detail
-
values
public static PropertyServlet.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 (PropertyServlet.Operation c : PropertyServlet.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 PropertyServlet.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
-
-