Previous Topic Next topic Print topic


Enum AbendCodeType

Enum for different abend types.

java.lang.Object

extended byjava.lang.Enum

extended bycom.microfocus.cics.client.AbendCodeType

All Implemented Interfaces

Comparable<AbendCodeType>, Serializable

Class Specifications

public enum AbendCodeType

extends Comparable<AbendCodeType>

Enum Constant Summary

NO_ABEND_TYPE

No abend type

CONDITION

Condition abend type

USER

User abend type

SYSTEM

System abend type

Methods

Method Summary
static AbendCodeType valueOf(String name)

Returns the enum constant of this type with the specified name.

static AbendCodeType[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail

NO_ABEND_TYPE
public static final AbendCodeType NO_ABEND_TYPE

No abend type

CONDITION
public static final AbendCodeType CONDITION

Condition abend type

USER
public static final AbendCodeType USER

User abend type

SYSTEM
public static final AbendCodeType SYSTEM

System abend type

Method Detail

valueOf
public static AbendCodeType 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 constant to be returned.
Returns:
The enum constant with the specified name.
Throws:
IllegalArgumentException If this enum type has no constant with the specified name.
NullPointerException If the argument is null.
values
public static AbendCodeType[] 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 (AbendCodeType c : AbendCodeType.values())
    System.out.println(c);
Returns:
An array containing the constants of this enum type, in the order they are declared.
Previous Topic Next topic Print topic