Package ninja.params
Enum ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow
- java.lang.Object
-
- java.lang.Enum<ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow>
-
- ninja.params.ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow>
- Enclosing class:
- ControllerMethodInvokerWithDeprecatedValidationTest
public static enum ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow extends Enum<ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ControllerMethodInvokerWithDeprecatedValidationTest.RainbowvalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Red
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Red
-
Orange
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Orange
-
Yellow
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Yellow
-
Green
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Green
-
Blue
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Blue
-
Indigo
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Indigo
-
Violet
public static final ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow Violet
-
-
Method Detail
-
values
public static ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow[] 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 (ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow c : ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerMethodInvokerWithDeprecatedValidationTest.Rainbow 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
-
-