Enum JMSNotificationType
- java.lang.Object
-
- java.lang.Enum<JMSNotificationType>
-
- org.apache.activemq.artemis.jms.server.management.JMSNotificationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JMSNotificationType>
,NotificationType
public enum JMSNotificationType extends java.lang.Enum<JMSNotificationType> implements NotificationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_FACTORY_CREATED
CONNECTION_FACTORY_DESTROYED
QUEUE_CREATED
QUEUE_DESTROYED
TOPIC_CREATED
TOPIC_DESTROYED
-
Field Summary
Fields Modifier and Type Field Description static org.apache.activemq.artemis.api.core.SimpleString
MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getType()
static JMSNotificationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JMSNotificationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUE_CREATED
public static final JMSNotificationType QUEUE_CREATED
-
QUEUE_DESTROYED
public static final JMSNotificationType QUEUE_DESTROYED
-
TOPIC_CREATED
public static final JMSNotificationType TOPIC_CREATED
-
TOPIC_DESTROYED
public static final JMSNotificationType TOPIC_DESTROYED
-
CONNECTION_FACTORY_CREATED
public static final JMSNotificationType CONNECTION_FACTORY_CREATED
-
CONNECTION_FACTORY_DESTROYED
public static final JMSNotificationType CONNECTION_FACTORY_DESTROYED
-
-
Method Detail
-
values
public static JMSNotificationType[] 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 (JMSNotificationType c : JMSNotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JMSNotificationType 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
-
getType
public int getType()
- Specified by:
getType
in interfaceNotificationType
-
-