Enum OperationLevel
- java.lang.Object
-
- java.lang.Enum<OperationLevel>
-
- org.gcube.informationsystem.resource_checker.beans.OperationLevel
-
- All Implemented Interfaces:
Serializable,Comparable<OperationLevel>
public enum OperationLevel extends Enum<OperationLevel>
Enumerators for the actions to be taken wrt missing resources: ALERT only or ALERT and READD- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTALERT_READ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALERT_READ
public static final OperationLevel ALERT_READ
-
ALERT
public static final OperationLevel ALERT
-
-
Method Detail
-
values
public static OperationLevel[] 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 (OperationLevel c : OperationLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationLevel 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
-
-