public static enum TestingColorResolver.PrimaryColor extends Enum<TestingColorResolver.PrimaryColor> implements TestingColorResolver.Color
Modifier and Type | Method and Description |
---|---|
static TestingColorResolver.PrimaryColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestingColorResolver.PrimaryColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final TestingColorResolver.PrimaryColor RED
public static final TestingColorResolver.PrimaryColor BLUE
public static final TestingColorResolver.PrimaryColor YELLOW
public static TestingColorResolver.PrimaryColor[] values()
for (TestingColorResolver.PrimaryColor c : TestingColorResolver.PrimaryColor.values()) System.out.println(c);
public static TestingColorResolver.PrimaryColor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 Nuxeo SA. All rights reserved.