Enum SystemMessage.SystemMessageColor
- java.lang.Object
-
- java.lang.Enum<SystemMessage.SystemMessageColor>
-
- io.jenkins.plugins.customizable_header.SystemMessage.SystemMessageColor
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemMessage.SystemMessageColor>
- Enclosing class:
- SystemMessage
public static enum SystemMessage.SystemMessageColor extends Enum<SystemMessage.SystemMessageColor>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemMessage.SystemMessageColor
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemMessage.SystemMessageColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
info
public static final SystemMessage.SystemMessageColor info
-
warning
public static final SystemMessage.SystemMessageColor warning
-
danger
public static final SystemMessage.SystemMessageColor danger
-
success
public static final SystemMessage.SystemMessageColor success
-
-
Method Detail
-
values
public static SystemMessage.SystemMessageColor[] 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 (SystemMessage.SystemMessageColor c : SystemMessage.SystemMessageColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemMessage.SystemMessageColor 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
-
-