Package org.apache.qpid.jms.tracing
Enum JmsTracer.DeliveryOutcome
- java.lang.Object
-
- java.lang.Enum<JmsTracer.DeliveryOutcome>
-
- org.apache.qpid.jms.tracing.JmsTracer.DeliveryOutcome
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JmsTracer.DeliveryOutcome>
- Enclosing interface:
- JmsTracer
public static enum JmsTracer.DeliveryOutcome extends java.lang.Enum<JmsTracer.DeliveryOutcome>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION_ERRORDELIVEREDEXPIREDREDELIVERIES_EXCEEDED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JmsTracer.DeliveryOutcomevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JmsTracer.DeliveryOutcome[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELIVERED
public static final JmsTracer.DeliveryOutcome DELIVERED
-
EXPIRED
public static final JmsTracer.DeliveryOutcome EXPIRED
-
REDELIVERIES_EXCEEDED
public static final JmsTracer.DeliveryOutcome REDELIVERIES_EXCEEDED
-
APPLICATION_ERROR
public static final JmsTracer.DeliveryOutcome APPLICATION_ERROR
-
-
Method Detail
-
values
public static JmsTracer.DeliveryOutcome[] 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 (JmsTracer.DeliveryOutcome c : JmsTracer.DeliveryOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JmsTracer.DeliveryOutcome valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-