public enum StorageAllocationPolicy extends Enum<StorageAllocationPolicy>
| Enum Constant and Description |
|---|
PERFORMANCE
If this policy is set, the volumes will be created in the pool with more space available.
|
PROGRESSIVE
If this policy is set, the volumes will be created in the pool with less space.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageAllocationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageAllocationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageAllocationPolicy PERFORMANCE
public static final StorageAllocationPolicy PROGRESSIVE
public static StorageAllocationPolicy[] values()
for (StorageAllocationPolicy c : StorageAllocationPolicy.values()) System.out.println(c);
public static StorageAllocationPolicy 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 © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.