public static enum ValidationPolicyConfig.Type extends Enum<ValidationPolicyConfig.Type>
Enum Constant and Description |
---|
BLACKLIST
A blacklist indicates that if any of the policy rules in this policy
match the connection requesting the action, the action is to be
rejected.
|
WHITELIST
A whitelist requires that at least one policy rule matches for the
action to be accepted.
|
Modifier and Type | Method and Description |
---|---|
static ValidationPolicyConfig.Type |
fromString(String symbol)
Returns type enum from string representation.
|
static ValidationPolicyConfig.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationPolicyConfig.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationPolicyConfig.Type WHITELIST
public static final ValidationPolicyConfig.Type BLACKLIST
public static ValidationPolicyConfig.Type[] values()
for (ValidationPolicyConfig.Type c : ValidationPolicyConfig.Type.values()) System.out.println(c);
public static ValidationPolicyConfig.Type 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 ValidationPolicyConfig.Type fromString(String symbol)
symbol
- type name in either lower or upper caseCopyright © 2022 Push Technology Ltd. All Rights Reserved.