public static enum ResolverRuleDetails.Action extends Enum<ResolverRuleDetails.Action>
The action determines the behavior of the rule. If a query matches a supplied condition then the action will apply. If there are no conditions on the rule then all queries are subject to the specified action.
FORWARD - Matching requests will be forwarded from the source interface to the destination address.| Enum Constant and Description |
|---|
Forward |
| Modifier and Type | Method and Description |
|---|---|
static ResolverRuleDetails.Action |
create(String key) |
String |
getValue() |
static ResolverRuleDetails.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResolverRuleDetails.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolverRuleDetails.Action Forward
public static ResolverRuleDetails.Action[] values()
for (ResolverRuleDetails.Action c : ResolverRuleDetails.Action.values()) System.out.println(c);
public static ResolverRuleDetails.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 ResolverRuleDetails.Action create(String key)
Copyright © 2016–2021. All rights reserved.