Enum AlertPriority
- java.lang.Object
-
- java.lang.Enum<AlertPriority>
-
- com.atlassian.jsm.integration.jenkins.AlertPriority
-
- All Implemented Interfaces:
Serializable
,Comparable<AlertPriority>
public enum AlertPriority extends Enum<AlertPriority>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlertPriority
fromDisplayName(String value)
String
getDisplayName()
String
getValue()
static AlertPriority
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlertPriority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
P1
public static final AlertPriority P1
-
P2
public static final AlertPriority P2
-
P3
public static final AlertPriority P3
-
P4
public static final AlertPriority P4
-
P5
public static final AlertPriority P5
-
-
Method Detail
-
values
public static AlertPriority[] 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 (AlertPriority c : AlertPriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlertPriority 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
-
getValue
public String getValue()
-
getDisplayName
public String getDisplayName()
-
fromDisplayName
public static AlertPriority fromDisplayName(String value)
-
-