@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum AcceptRejectWarn extends Enum<AcceptRejectWarn>
Enum Constant and Description |
---|
ACCEPT
Indicates that elements meeting the associated criteria should be accepted.
|
REJECT
Indicates that elements meeting the associated criteria should be rejected.
|
WARN
Indicates that a warning should be logged if an element meets the
associated criteria.
|
Modifier and Type | Method and Description |
---|---|
static AcceptRejectWarn |
policyForName(String policyName)
Retrieves the accept/reject/warn policy for the specified name.
|
String |
toString()
Retrieves the human-readable name for this accept/reject/warn
policy.
|
static AcceptRejectWarn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AcceptRejectWarn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcceptRejectWarn ACCEPT
public static final AcceptRejectWarn REJECT
public static final AcceptRejectWarn WARN
public static AcceptRejectWarn[] values()
for (AcceptRejectWarn c : AcceptRejectWarn.values()) System.out.println(c);
public static AcceptRejectWarn 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 AcceptRejectWarn policyForName(String policyName)
policyName
- The name of the policy to retrieve.null
if the provided value is not the name
of a valid policy.public String toString()
toString
in class Enum<AcceptRejectWarn>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.