public static enum ProtectionRuleAction.Action extends Enum<ProtectionRuleAction.Action>
The action to apply to the protection rule. If unspecified, defaults to OFF.
| Modifier and Type | Method and Description |
|---|---|
static ProtectionRuleAction.Action |
create(String key) |
String |
getValue() |
static ProtectionRuleAction.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtectionRuleAction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtectionRuleAction.Action Off
public static final ProtectionRuleAction.Action Detect
public static final ProtectionRuleAction.Action Block
public static ProtectionRuleAction.Action[] values()
for (ProtectionRuleAction.Action c : ProtectionRuleAction.Action.values()) System.out.println(c);
public static ProtectionRuleAction.Action 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 String getValue()
public static ProtectionRuleAction.Action create(String key)
Copyright © 2016–2021. All rights reserved.