public static enum Host.Status extends java.lang.Enum<Host.Status>
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static Host.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Host.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Host.Status ENABLED
public static final Host.Status DISABLED
public static final Host.Status OFFLINE
public static Host.Status[] values()
for (Host.Status c : Host.Status.values()) System.out.println(c);
public static Host.Status 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 namejava.lang.NullPointerException - if the argument is nullpublic int code()
Visit OpenNebula.io
Copyright 2002-2021 ©
OpenNebula Project, OpenNebula Systems.