Enum IDefineGenerationDataGroupParameters.Ordering
- java.lang.Object
-
- java.lang.Enum<IDefineGenerationDataGroupParameters.Ordering>
-
- com.compuware.api.topaz.hostresources.zos.IDefineGenerationDataGroupParameters.Ordering
-
- All Implemented Interfaces:
Serializable
,Comparable<IDefineGenerationDataGroupParameters.Ordering>
- Enclosing interface:
- IDefineGenerationDataGroupParameters
public static enum IDefineGenerationDataGroupParameters.Ordering extends Enum<IDefineGenerationDataGroupParameters.Ordering>
Enumeration of the ordering types for a generation data group.This is used to specify the order in which the generation data sets list is returned for data set allocation when the generation data group name is supplied on a DD statement.
Note: this ordering can be overridden in JCL using the GDGORDER keyword.
- Since:
- 2.1.0
- Version:
- 2.1.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 IDefineGenerationDataGroupParameters.Ordering
valueOf(String name)
Returns the enum constant of this type with the specified name.static IDefineGenerationDataGroupParameters.Ordering[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIFO
public static final IDefineGenerationDataGroupParameters.Ordering FIFO
Ordering of the oldest generation data set to the newest.
-
LIFO
public static final IDefineGenerationDataGroupParameters.Ordering LIFO
Ordering of the newest generation data set to the oldest.
-
-
Method Detail
-
values
public static IDefineGenerationDataGroupParameters.Ordering[] 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 (IDefineGenerationDataGroupParameters.Ordering c : IDefineGenerationDataGroupParameters.Ordering.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IDefineGenerationDataGroupParameters.Ordering 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
-
-