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