Enum ItemAction
- java.lang.Object
-
- java.lang.Enum<ItemAction>
-
- org.gcube.common.storagehub.model.types.ItemAction
-
- All Implemented Interfaces:
Serializable,Comparable<ItemAction>
public enum ItemAction extends Enum<ItemAction>
- Author:
- Federico De Faveri defaveri@isti.cnr.it
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemActionvalueOf(String name)Returns the enum constant of this type with the specified name.static ItemAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final ItemAction CREATED
The item has been created.
-
RENAMED
public static final ItemAction RENAMED
The item has been renamed.
-
MOVED
public static final ItemAction MOVED
The item has been moved.
-
CLONED
public static final ItemAction CLONED
The item has been cloned.
-
UPDATED
public static final ItemAction UPDATED
The item has been updates.
-
-
Method Detail
-
values
public static ItemAction[] 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 (ItemAction c : ItemAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ItemAction 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
-
-