Enum DataSetType
- java.lang.Object
-
- java.lang.Enum<DataSetType>
-
- com.compuware.api.topaz.hostresources.zos.DataSetType
-
- All Implemented Interfaces:
HostResourceType
,Serializable
,Comparable<DataSetType>
public enum DataSetType extends Enum<DataSetType> implements HostResourceType
Enumeration of z/OS dataset types.- Since:
- 1.0.0
- Version:
- 2.0.0
- See Also:
IDataSet.getType()
,IDataSetCommandProvider.findDataSets(String, DataSetType...)
- Restriction:
- This enum is not intended to be extended by clients.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT_ACCESS
Dataset type of "Direct Access".IAM
Dataset type of "Innovation Access Method".MIGRATED
A migrated dataset.OTHER
Other dataset types not currently supported by the Topaz API.PARTITIONED
Dataset type of "Partitioned".SEQUENTIAL
Dataset type of "Sequential".VSAM
Dataset type of "Virtual Storage Access Method".ZFS
Dataset type of "zSeries File System".
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataSetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECT_ACCESS
public static final DataSetType DIRECT_ACCESS
Dataset type of "Direct Access".- Since:
- 1.0.0
-
IAM
public static final DataSetType IAM
Dataset type of "Innovation Access Method".- Since:
- 1.0.0
-
MIGRATED
public static final DataSetType MIGRATED
A migrated dataset.- Since:
- 1.0.0
-
PARTITIONED
public static final DataSetType PARTITIONED
Dataset type of "Partitioned".- Since:
- 1.0.0
-
SEQUENTIAL
public static final DataSetType SEQUENTIAL
Dataset type of "Sequential".- Since:
- 1.0.0
-
VSAM
public static final DataSetType VSAM
Dataset type of "Virtual Storage Access Method".- Since:
- 1.0.0
-
ZFS
public static final DataSetType ZFS
Dataset type of "zSeries File System".- Since:
- 1.0.0
-
OTHER
public static final DataSetType OTHER
Other dataset types not currently supported by the Topaz API.- Since:
- 1.0.0
-
-
Method Detail
-
values
public static DataSetType[] 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 (DataSetType c : DataSetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetType 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
-
-