public static enum TestingColorResolver.SecondaryColor extends Enum<TestingColorResolver.SecondaryColor> implements TestingColorResolver.Color
Modifier and Type | Method and Description |
---|---|
static TestingColorResolver.SecondaryColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestingColorResolver.SecondaryColor[] |
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.SecondaryColor VIOLET
public static final TestingColorResolver.SecondaryColor ORANGE
public static final TestingColorResolver.SecondaryColor GREEN
public static TestingColorResolver.SecondaryColor[] values()
for (TestingColorResolver.SecondaryColor c : TestingColorResolver.SecondaryColor.values()) System.out.println(c);
public static TestingColorResolver.SecondaryColor 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.