public enum Status extends Enum<Status> implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
Enum Constant and Description |
---|
DISCONNECTED |
DOWN |
MARGINAL |
STOPPED |
UNKNOWN |
UP |
Modifier and Type | Method and Description |
---|---|
String |
getColor()
getColor
|
String |
getStyle()
getStyle
|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status DOWN
public static final Status DISCONNECTED
public static final Status MARGINAL
public static final Status UP
public static final Status STOPPED
public static final Status UNKNOWN
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static 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 nullCopyright © 2019. All rights reserved.