public enum CustomRestrictionPolicyType extends Enum<CustomRestrictionPolicyType>
Enum Constant and Description |
---|
ACCEPT
The
ACCEPT action indicates that the query should be accepted
without restrictions |
ACCEPT_WITH_FILTER
The
ACCEPT_WITH_FILTER action indicates that the query should be
accepted but a filter condition will be added. |
REJECT
The
REJECT action indicates that the query should be rejected |
Modifier and Type | Method and Description |
---|---|
static CustomRestrictionPolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomRestrictionPolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomRestrictionPolicyType REJECT
REJECT
action indicates that the query should be rejectedpublic static final CustomRestrictionPolicyType ACCEPT
ACCEPT
action indicates that the query should be accepted
without restrictionspublic static final CustomRestrictionPolicyType ACCEPT_WITH_FILTER
ACCEPT_WITH_FILTER
action indicates that the query should be
accepted but a filter condition will be added.CustomRestrictionPolicyFilterType
public static CustomRestrictionPolicyType[] values()
for (CustomRestrictionPolicyType c : CustomRestrictionPolicyType.values()) System.out.println(c);
public static CustomRestrictionPolicyType 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 nullCopyright © 2023 Denodo Technologies. All rights reserved.