Enum MonitoringStatus
- java.lang.Object
-
- java.lang.Enum<MonitoringStatus>
-
- io.jenkins.plugins.devopsportal.models.MonitoringStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<MonitoringStatus>
public enum MonitoringStatus extends Enum<MonitoringStatus> implements Serializable
List of possible states for monitored services.- Author:
- RĂ©mi BELLO <remi@evolya.fr>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
FAILURE
INVALID_CONFIGURATION
INVALID_HTTPS
SUCCESS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
defaultIcon()
String
getIcon()
static MonitoringStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static MonitoringStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final MonitoringStatus SUCCESS
-
FAILURE
public static final MonitoringStatus FAILURE
-
INVALID_HTTPS
public static final MonitoringStatus INVALID_HTTPS
-
INVALID_CONFIGURATION
public static final MonitoringStatus INVALID_CONFIGURATION
-
DISABLED
public static final MonitoringStatus DISABLED
-
-
Method Detail
-
values
public static MonitoringStatus[] 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 (MonitoringStatus c : MonitoringStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonitoringStatus 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
-
getIcon
public String getIcon()
-
defaultIcon
public static String defaultIcon()
-
-