public enum HostStatus extends Enum<HostStatus>
Enum Constant and Description |
---|
CONNECTING |
DOWN |
ERROR |
INITIALIZING |
INSTALL_FAILED |
INSTALLING |
MAINTENANCE |
NON_OPERATIONAL |
NON_RESPONSIVE |
PENDING_APPROVAL |
PREPARING_FOR_MAINTENANCE |
REBOOT |
UNASSIGNED |
UP |
Modifier and Type | Method and Description |
---|---|
static HostStatus |
fromValue(String v) |
String |
value() |
static HostStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostStatus DOWN
public static final HostStatus ERROR
public static final HostStatus INITIALIZING
public static final HostStatus INSTALLING
public static final HostStatus INSTALL_FAILED
public static final HostStatus MAINTENANCE
public static final HostStatus NON_OPERATIONAL
public static final HostStatus NON_RESPONSIVE
public static final HostStatus PENDING_APPROVAL
public static final HostStatus PREPARING_FOR_MAINTENANCE
public static final HostStatus CONNECTING
public static final HostStatus REBOOT
public static final HostStatus UNASSIGNED
public static final HostStatus UP
public static HostStatus[] values()
for (HostStatus c : HostStatus.values()) System.out.println(c);
public static HostStatus 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 value()
public static HostStatus fromValue(String v)
Copyright © 2012. All Rights Reserved.