static enum StatusResult.Status extends Enum<StatusResult.Status>
Enum Constant and Description |
---|
FAILED
Server status check failed with
FAILED result. |
SUCCESS
Server status check passed.
|
Modifier and Type | Method and Description |
---|---|
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.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 nullpublic 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.