Enum AsyncJms2ProducerFacade.SendAttemptResult
- java.lang.Object
-
- java.lang.Enum<AsyncJms2ProducerFacade.SendAttemptResult>
-
- org.apache.activemq.artemis.cli.commands.messages.perf.AsyncJms2ProducerFacade.SendAttemptResult
-
- All Implemented Interfaces:
Serializable,Comparable<AsyncJms2ProducerFacade.SendAttemptResult>
- Enclosing class:
- AsyncJms2ProducerFacade
public static enum AsyncJms2ProducerFacade.SendAttemptResult extends Enum<AsyncJms2ProducerFacade.SendAttemptResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClosedClosingNotAvailableSuccess
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AsyncJms2ProducerFacade.SendAttemptResultvalueOf(String name)Returns the enum constant of this type with the specified name.static AsyncJms2ProducerFacade.SendAttemptResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Closing
public static final AsyncJms2ProducerFacade.SendAttemptResult Closing
-
Closed
public static final AsyncJms2ProducerFacade.SendAttemptResult Closed
-
NotAvailable
public static final AsyncJms2ProducerFacade.SendAttemptResult NotAvailable
-
Success
public static final AsyncJms2ProducerFacade.SendAttemptResult Success
-
-
Method Detail
-
values
public static AsyncJms2ProducerFacade.SendAttemptResult[] 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 (AsyncJms2ProducerFacade.SendAttemptResult c : AsyncJms2ProducerFacade.SendAttemptResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsyncJms2ProducerFacade.SendAttemptResult 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
-
-