Enum AddressQueueStatus
- java.lang.Object
-
- java.lang.Enum<AddressQueueStatus>
-
- org.apache.activemq.artemis.core.persistence.AddressQueueStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AddressQueueStatus>
public enum AddressQueueStatus extends Enum<AddressQueueStatus>
-
-
Field Summary
Fields Modifier and Type Field Description shortidstatic AddressQueueStatus[]values
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddressQueueStatusfromID(short id)static AddressQueueStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AddressQueueStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAUSED
public static final AddressQueueStatus PAUSED
-
RUNNING
public static final AddressQueueStatus RUNNING
-
-
Field Detail
-
id
public final short id
-
values
public static AddressQueueStatus[] values
-
-
Method Detail
-
values
public static AddressQueueStatus[] 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 (AddressQueueStatus c : AddressQueueStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddressQueueStatus 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
-
fromID
public static AddressQueueStatus fromID(short id)
-
-