public enum DefaultAction extends Enum<DefaultAction>
Enum Constant and Description |
---|
ALLOW
Enum value Allow.
|
DENY
Enum value Deny.
|
Modifier and Type | Method and Description |
---|---|
static DefaultAction |
fromString(String value)
Parses a serialized value to a DefaultAction instance.
|
String |
toString() |
static DefaultAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultAction ALLOW
public static final DefaultAction DENY
public static DefaultAction[] values()
for (DefaultAction c : DefaultAction.values()) System.out.println(c);
public static DefaultAction 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 nullpublic static DefaultAction fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<DefaultAction>
Copyright © 2019. All rights reserved.