Package org.fcrepo.kernel.api.operations
Enum ResourceOperationType
- java.lang.Object
-
- java.lang.Enum<ResourceOperationType>
-
- org.fcrepo.kernel.api.operations.ResourceOperationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceOperationType>
public enum ResourceOperationType extends Enum<ResourceOperationType>
Specifies the type of modification action represented by a resource operation.- Author:
- bbpennel
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceOperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceOperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE
public static final ResourceOperationType UPDATE
-
UPDATE_HEADERS
public static final ResourceOperationType UPDATE_HEADERS
-
CREATE
public static final ResourceOperationType CREATE
-
DELETE
public static final ResourceOperationType DELETE
-
PURGE
public static final ResourceOperationType PURGE
-
FOLLOW
public static final ResourceOperationType FOLLOW
-
REINDEX
public static final ResourceOperationType REINDEX
-
-
Method Detail
-
values
public static ResourceOperationType[] 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 (ResourceOperationType c : ResourceOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceOperationType 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
-
-