public enum NinjaMode extends Enum<NinjaMode>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static NinjaMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NinjaMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NinjaMode prod
public static final NinjaMode dev
public static final NinjaMode test
public static NinjaMode[] values()
for (NinjaMode c : NinjaMode.values()) System.out.println(c);
public static NinjaMode 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 © 2019 ninjaframework. All rights reserved.