Package zowe.client.sdk.zoslogs.types
Enum HardCopyType
- java.lang.Object
-
- java.lang.Enum<HardCopyType>
-
- zowe.client.sdk.zoslogs.types.HardCopyType
-
- All Implemented Interfaces:
Serializable,Comparable<HardCopyType>
public enum HardCopyType extends Enum<HardCopyType>
Enum class representing z/OS Log type to gather log data from.- Version:
- 3.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 log type.static HardCopyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HardCopyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPERLOG
public static final HardCopyType OPERLOG
OPERLOG type
-
SYSLOG
public static final HardCopyType SYSLOG
SYSLOG type
-
-
Method Detail
-
values
public static HardCopyType[] 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 (HardCopyType c : HardCopyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HardCopyType 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 log type.- Returns:
- the value of the log type
-
-