Enum ConsumerField
- java.lang.Object
-
- java.lang.Enum<ConsumerField>
-
- org.apache.activemq.artemis.core.management.impl.view.ConsumerField
-
- All Implemented Interfaces:
Serializable,Comparable<ConsumerField>
public enum ConsumerField extends Enum<ConsumerField>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlternativeName()There is some inconsistency with some json objects returned for consumers because they were hard coded.StringgetName()static ConsumerFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static ConsumerFieldvalueOfName(String name)static ConsumerField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final ConsumerField ID
-
SESSION
public static final ConsumerField SESSION
-
CONNECTION
public static final ConsumerField CONNECTION
-
QUEUE
public static final ConsumerField QUEUE
-
FILTER
public static final ConsumerField FILTER
-
ADDRESS
public static final ConsumerField ADDRESS
-
USER
public static final ConsumerField USER
-
VALIDATED_USER
public static final ConsumerField VALIDATED_USER
-
PROTOCOL
public static final ConsumerField PROTOCOL
-
CLIENT_ID
public static final ConsumerField CLIENT_ID
-
LOCAL_ADDRESS
public static final ConsumerField LOCAL_ADDRESS
-
REMOTE_ADDRESS
public static final ConsumerField REMOTE_ADDRESS
-
QUEUE_TYPE
public static final ConsumerField QUEUE_TYPE
-
BROWSE_ONLY
public static final ConsumerField BROWSE_ONLY
-
CREATION_TIME
public static final ConsumerField CREATION_TIME
-
MESSAGES_IN_TRANSIT
public static final ConsumerField MESSAGES_IN_TRANSIT
-
MESSAGES_IN_TRANSIT_SIZE
public static final ConsumerField MESSAGES_IN_TRANSIT_SIZE
-
MESSAGES_DELIVERED
public static final ConsumerField MESSAGES_DELIVERED
-
MESSAGES_DELIVERED_SIZE
public static final ConsumerField MESSAGES_DELIVERED_SIZE
-
MESSAGES_ACKNOWLEDGED
public static final ConsumerField MESSAGES_ACKNOWLEDGED
-
MESSAGES_ACKNOWLEDGED_AWAITING_COMMIT
public static final ConsumerField MESSAGES_ACKNOWLEDGED_AWAITING_COMMIT
-
LAST_DELIVERED_TIME
public static final ConsumerField LAST_DELIVERED_TIME
-
LAST_ACKNOWLEDGED_TIME
public static final ConsumerField LAST_ACKNOWLEDGED_TIME
-
-
Method Detail
-
values
public static ConsumerField[] 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 (ConsumerField c : ConsumerField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsumerField 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
-
getName
public String getName()
-
getAlternativeName
public String getAlternativeName()
There is some inconsistency with some json objects returned for consumers because they were hard coded. This is just to track the differences and provide backward compatibility.- Returns:
- the old alternative name
-
valueOfName
public static ConsumerField valueOfName(String name)
-
-