static enum StatusResult.Status extends Enum<StatusResult.Status>
AND
and OR
.Enum Constant and Description |
---|
FAILED
Server status check failed with
FAILED result. |
SUCCESS
Server status check passed.
|
Modifier and Type | Field and Description |
---|---|
private static StatusResult.Status[][] |
and
Full
AND operator state space. |
private static StatusResult.Status[][] |
or
Full
OR operator state space. |
Modifier and Type | Method and Description |
---|---|
(package private) static StatusResult.Status |
and(StatusResult.Status s1,
StatusResult.Status s2)
Compute logical
AND of two status values. |
(package private) static StatusResult.Status |
and(StatusResult.Status s1,
StatusResult.Status s2,
StatusResult.Status s3)
Compute logical
AND of three status values. |
(package private) static StatusResult.Status |
or(StatusResult.Status s1,
StatusResult.Status s2)
Compute logical
OR of two status values. |
(package private) static StatusResult.Status |
or(StatusResult.Status s1,
StatusResult.Status s2,
StatusResult.Status s3)
Compute logical
OR of three status values. |
String |
toString()
Convert
Status value to String . |
static StatusResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusResult.Status SUCCESS
public static final StatusResult.Status FAILED
FAILED
result.private static final StatusResult.Status[][] and
AND
operator state space.private static final StatusResult.Status[][] or
OR
operator state space.public static StatusResult.Status[] values()
for (StatusResult.Status c : StatusResult.Status.values()) System.out.println(c);
public static StatusResult.Status 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 nullstatic StatusResult.Status and(StatusResult.Status s1, StatusResult.Status s2)
AND
of two status values.
s1
- First operand.s2
- Second operand.static StatusResult.Status or(StatusResult.Status s1, StatusResult.Status s2)
OR
of two status values.
s1
- First operand.s2
- Second operand.static StatusResult.Status and(StatusResult.Status s1, StatusResult.Status s2, StatusResult.Status s3)
AND
of three status values.
s1
- First operand.s2
- Second operand.s3
- Third operand.static StatusResult.Status or(StatusResult.Status s1, StatusResult.Status s2, StatusResult.Status s3)
OR
of three status values.
s1
- First operand.s2
- Second operand.s3
- Third operand.public String toString()
Status
value to String
.
toString
in class Enum<StatusResult.Status>
String
representation of the value
of this object.Copyright © 2013. All Rights Reserved.