public enum VMResource extends java.lang.Enum<VMResource>
Enum Constant and Description |
---|
CPU |
Disk |
Fitness |
Memory |
Network |
Other |
Ports |
ResAllocs |
ResourceSet |
VirtualMachine |
Modifier and Type | Method and Description |
---|---|
static VMResource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VMResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMResource ResAllocs
public static final VMResource VirtualMachine
public static final VMResource CPU
public static final VMResource Memory
public static final VMResource Network
public static final VMResource Ports
public static final VMResource Disk
public static final VMResource ResourceSet
public static final VMResource Fitness
public static final VMResource Other
public static VMResource[] values()
for (VMResource c : VMResource.values()) System.out.println(c);
public static VMResource 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 null