Package org.dspace.usage
Enum UsageEvent.Action
- java.lang.Object
-
- java.lang.Enum<UsageEvent.Action>
-
- org.dspace.usage.UsageEvent.Action
-
- All Implemented Interfaces:
Serializable,Comparable<UsageEvent.Action>
- Enclosing class:
- UsageEvent
public static enum UsageEvent.Action extends Enum<UsageEvent.Action>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UsageEvent.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static UsageEvent.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW
public static final UsageEvent.Action VIEW
-
CREATE
public static final UsageEvent.Action CREATE
-
UPDATE
public static final UsageEvent.Action UPDATE
-
DELETE
public static final UsageEvent.Action DELETE
-
ADD
public static final UsageEvent.Action ADD
-
REMOVE
public static final UsageEvent.Action REMOVE
-
BROWSE
public static final UsageEvent.Action BROWSE
-
SEARCH
public static final UsageEvent.Action SEARCH
-
WORKFLOW
public static final UsageEvent.Action WORKFLOW
-
LOGIN
public static final UsageEvent.Action LOGIN
-
SUBSCRIBE
public static final UsageEvent.Action SUBSCRIBE
-
UNSUBSCRIBE
public static final UsageEvent.Action UNSUBSCRIBE
-
WITHDRAW
public static final UsageEvent.Action WITHDRAW
-
REINSTATE
public static final UsageEvent.Action REINSTATE
-
-
Method Detail
-
values
public static UsageEvent.Action[] 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 (UsageEvent.Action c : UsageEvent.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsageEvent.Action 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
-
-