org.jenkinsci.plugins.extremefeedback.model
Enum States.Color
java.lang.Object
java.lang.Enum<States.Color>
org.jenkinsci.plugins.extremefeedback.model.States.Color
- All Implemented Interfaces:
- Serializable, Comparable<States.Color>
- Enclosing class:
- States
public static enum States.Color
- extends Enum<States.Color>
|
Method Summary |
static States.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static States.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
GREEN
public static final States.Color GREEN
YELLOW
public static final States.Color YELLOW
RED
public static final States.Color RED
values
public static States.Color[] 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 (States.Color c : States.Color.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static States.Color 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 name
NullPointerException - if the argument is null
Copyright © 2004-2013. All Rights Reserved.