public static enum EnvironmentFairy.User extends Enum<EnvironmentFairy.User>
| Enum Constant and Description |
|---|
ADMIN |
SPECIFIC_USER |
| Modifier and Type | Method and Description |
|---|---|
static EnvironmentFairy.User |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentFairy.User[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentFairy.User ADMIN
public static final EnvironmentFairy.User SPECIFIC_USER
public static EnvironmentFairy.User[] values()
for (EnvironmentFairy.User c : EnvironmentFairy.User.values()) System.out.println(c);
public static EnvironmentFairy.User 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 © 2012–2018 The Apache Software Foundation. All rights reserved.