|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AcceptRejectWarn>
org.opends.server.types.AcceptRejectWarn
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum AcceptRejectWarn
This class implements an enumeration that may be used for configuration items that may have three possible values: accept, reject, or warn.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static AcceptRejectWarn |
policyForName(java.lang.String policyName)
Retrieves the accept/reject/warn policy for the specified name. |
java.lang.String |
toString()
Retrieves the human-readable name for this accept/reject/warn policy. |
static AcceptRejectWarn |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AcceptRejectWarn ACCEPT
public static final AcceptRejectWarn REJECT
public static final AcceptRejectWarn WARN
Method Detail |
---|
public static AcceptRejectWarn[] values()
for (AcceptRejectWarn c : AcceptRejectWarn.values()) System.out.println(c);
public static AcceptRejectWarn valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static AcceptRejectWarn policyForName(java.lang.String policyName)
policyName
- The name of the policy to retrieve.
null
if the provided value is not the name
of a valid policy.public java.lang.String toString()
toString
in class java.lang.Enum<AcceptRejectWarn>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |