Enum DatadogEvent.Priority
- java.lang.Object
-
- java.lang.Enum<DatadogEvent.Priority>
-
- org.datadog.jenkins.plugins.datadog.DatadogEvent.Priority
-
- All Implemented Interfaces:
Serializable
,Comparable<DatadogEvent.Priority>
- Enclosing interface:
- DatadogEvent
public static enum DatadogEvent.Priority extends Enum<DatadogEvent.Priority>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.timgroup.statsd.Event.Priority
toEventPriority()
static DatadogEvent.Priority
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatadogEvent.Priority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW
public static final DatadogEvent.Priority LOW
-
NORMAL
public static final DatadogEvent.Priority NORMAL
-
-
Method Detail
-
values
public static DatadogEvent.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 (DatadogEvent.Priority c : DatadogEvent.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 DatadogEvent.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
-
toEventPriority
public com.timgroup.statsd.Event.Priority toEventPriority()
-
-