Enum SessionField
- java.lang.Object
-
- java.lang.Enum<SessionField>
-
- org.apache.activemq.artemis.core.management.impl.view.SessionField
-
- All Implemented Interfaces:
Serializable,Comparable<SessionField>
public enum SessionField extends Enum<SessionField>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_IDCONNECTION_IDCONSUMER_COUNTCREATION_TIMEIDLOCAL_ADDRESSPRODUCER_COUNTPROTOCOLREMOTE_ADDRESSUSERVALIDATED_USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static SessionFieldvalueOf(String name)Returns the enum constant of this type with the specified name.static SessionFieldvalueOfName(String name)static SessionField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final SessionField ID
-
CONNECTION_ID
public static final SessionField CONNECTION_ID
-
CONSUMER_COUNT
public static final SessionField CONSUMER_COUNT
-
PRODUCER_COUNT
public static final SessionField PRODUCER_COUNT
-
USER
public static final SessionField USER
-
VALIDATED_USER
public static final SessionField VALIDATED_USER
-
PROTOCOL
public static final SessionField PROTOCOL
-
CLIENT_ID
public static final SessionField CLIENT_ID
-
LOCAL_ADDRESS
public static final SessionField LOCAL_ADDRESS
-
REMOTE_ADDRESS
public static final SessionField REMOTE_ADDRESS
-
CREATION_TIME
public static final SessionField CREATION_TIME
-
-
Method Detail
-
values
public static SessionField[] 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 (SessionField c : SessionField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionField 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()
-
valueOfName
public static SessionField valueOfName(String name)
-
-