public enum ProxyConnectorRuleType extends Enum<ProxyConnectorRuleType>
Enum Constant and Description |
---|
BLACK_LIST |
WHITE_LIST |
Modifier and Type | Method and Description |
---|---|
String |
getRuleType() |
void |
setRuleType(String ruleType) |
String |
toString() |
static ProxyConnectorRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyConnectorRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyConnectorRuleType WHITE_LIST
public static final ProxyConnectorRuleType BLACK_LIST
public static ProxyConnectorRuleType[] values()
for (ProxyConnectorRuleType c : ProxyConnectorRuleType.values()) System.out.println(c);
public static ProxyConnectorRuleType 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 void setRuleType(String ruleType)
public String getRuleType()
public String toString()
toString
in class Enum<ProxyConnectorRuleType>
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.