public static enum ControlResource.Type extends Enum<ControlResource.Type>
Enum Constant and Description |
---|
CONTROL_MESSAGE |
CPU |
DISK |
MEMORY |
NETWORK |
Modifier and Type | Method and Description |
---|---|
static ControlResource.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlResource.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlResource.Type CPU
public static final ControlResource.Type MEMORY
public static final ControlResource.Type DISK
public static final ControlResource.Type NETWORK
public static final ControlResource.Type CONTROL_MESSAGE
public static ControlResource.Type[] values()
for (ControlResource.Type c : ControlResource.Type.values()) System.out.println(c);
public static ControlResource.Type 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 null