Enum IAllocateParameters.AllocationUnit
- java.lang.Object
-
- java.lang.Enum<IAllocateParameters.AllocationUnit>
-
- com.compuware.api.topaz.hostresources.zos.IAllocateParameters.AllocationUnit
-
- All Implemented Interfaces:
Serializable
,Comparable<IAllocateParameters.AllocationUnit>
- Enclosing interface:
- IAllocateParameters
public static enum IAllocateParameters.AllocationUnit extends Enum<IAllocateParameters.AllocationUnit>
Enumeration of the supported allocation units used for allocating a new data set.- Since:
- 1.1.0
- Version:
- 1.0.0
- Restriction:
- This enum is not intended to be extended by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAllocateParameters.AllocationUnit
valueOf(String name)
Returns the enum constant of this type with the specified name.static IAllocateParameters.AllocationUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCKS
public static final IAllocateParameters.AllocationUnit BLOCKS
Allocation unit of Blocks.
-
CYLINDERS
public static final IAllocateParameters.AllocationUnit CYLINDERS
Allocation unit of Cylinders.
-
TRACKS
public static final IAllocateParameters.AllocationUnit TRACKS
Allocation unit of Tracks.
-
-
Method Detail
-
values
public static IAllocateParameters.AllocationUnit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IAllocateParameters.AllocationUnit c : IAllocateParameters.AllocationUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IAllocateParameters.AllocationUnit valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-