|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConditionResult>
org.opends.server.types.ConditionResult
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum ConditionResult
This enumeration defines a result that could be returned from a boolean operation that may evaluate to true or false, but may also be undefined (i.e., "maybe"). A result of undefined indicates that further investigation may be required.
Enum Constant Summary | |
---|---|
FALSE
Indicates that the result of the associated check returned "false". |
|
TRUE
Indicates that the result of the associated check returned "true". |
|
UNDEFINED
Indicates that the associated check did not yield a definitive result and that additional checking might be required. |
Method Summary | |
---|---|
static ConditionResult |
inverseOf(ConditionResult value)
Returns the logical inverse of a ConditionResult value. |
java.lang.String |
toString()
Retrieves the human-readable name for this condition result. |
static ConditionResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ConditionResult[] |
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 ConditionResult TRUE
public static final ConditionResult FALSE
public static final ConditionResult UNDEFINED
Method Detail |
---|
public static ConditionResult[] values()
for (ConditionResult c : ConditionResult.values()) System.out.println(c);
public static ConditionResult 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 ConditionResult inverseOf(ConditionResult value)
value
- The value to invert.
public java.lang.String toString()
toString
in class java.lang.Enum<ConditionResult>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |