Package zowe.client.sdk.zoslogs.types
Enum DirectionType
- java.lang.Object
-
- java.lang.Enum<DirectionType>
-
- zowe.client.sdk.zoslogs.types.DirectionType
-
- All Implemented Interfaces:
Serializable,Comparable<DirectionType>
public enum DirectionType extends Enum<DirectionType>
Enum class representing a direction to gather log data from.- Version:
- 4.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Returns the value of the direction type.static DirectionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DirectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORWARD
public static final DirectionType FORWARD
Forward direction
-
BACKWARD
public static final DirectionType BACKWARD
backward direction
-
-
Method Detail
-
values
public static DirectionType[] 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 (DirectionType c : DirectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectionType 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
-
getValue
public String getValue()
Returns the value of the direction type.- Returns:
- the value of the direction type
-
-