Package org.mozilla.zest.core.v1
Enum ZestActionFail.Priority
- java.lang.Object
-
- java.lang.Enum<ZestActionFail.Priority>
-
- org.mozilla.zest.core.v1.ZestActionFail.Priority
-
- All Implemented Interfaces:
Serializable,Comparable<ZestActionFail.Priority>
- Enclosing class:
- ZestActionFail
public static enum ZestActionFail.Priority extends Enum<ZestActionFail.Priority>
The Enum Priority.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZestActionFail.PriorityvalueOf(String name)Returns the enum constant of this type with the specified name.static ZestActionFail.Priority[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final ZestActionFail.Priority INFO
-
LOW
public static final ZestActionFail.Priority LOW
-
MEDIUM
public static final ZestActionFail.Priority MEDIUM
-
HIGH
public static final ZestActionFail.Priority HIGH
-
-
Method Detail
-
values
public static ZestActionFail.Priority[] 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 (ZestActionFail.Priority c : ZestActionFail.Priority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZestActionFail.Priority 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
-
-