Package org.apache.qpid.jms.provider
Enum ProviderConstants.ACK_TYPE
- java.lang.Object
-
- java.lang.Enum<ProviderConstants.ACK_TYPE>
-
- org.apache.qpid.jms.provider.ProviderConstants.ACK_TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<ProviderConstants.ACK_TYPE>
- Enclosing class:
- ProviderConstants
public static enum ProviderConstants.ACK_TYPE extends Enum<ProviderConstants.ACK_TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDDELIVEREDMODIFIED_FAILEDMODIFIED_FAILED_UNDELIVERABLEREJECTEDRELEASEDSESSION_SHUTDOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProviderConstants.ACK_TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static ProviderConstants.ACK_TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final ProviderConstants.ACK_TYPE ACCEPTED
-
RELEASED
public static final ProviderConstants.ACK_TYPE RELEASED
-
REJECTED
public static final ProviderConstants.ACK_TYPE REJECTED
-
MODIFIED_FAILED
public static final ProviderConstants.ACK_TYPE MODIFIED_FAILED
-
MODIFIED_FAILED_UNDELIVERABLE
public static final ProviderConstants.ACK_TYPE MODIFIED_FAILED_UNDELIVERABLE
-
DELIVERED
public static final ProviderConstants.ACK_TYPE DELIVERED
-
SESSION_SHUTDOWN
public static final ProviderConstants.ACK_TYPE SESSION_SHUTDOWN
-
-
Method Detail
-
values
public static ProviderConstants.ACK_TYPE[] 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 (ProviderConstants.ACK_TYPE c : ProviderConstants.ACK_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProviderConstants.ACK_TYPE 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
-
-