Package org.apache.qpid.server.filter
Enum AMQPFilterTypes
- java.lang.Object
-
- java.lang.Enum<AMQPFilterTypes>
-
- org.apache.qpid.server.filter.AMQPFilterTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<AMQPFilterTypes>
public enum AMQPFilterTypes extends Enum<AMQPFilterTypes>
Specifies the different filter types for consumers that filter their messages.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_CLOSE
JMS_SELECTOR
NO_CONSUME
NO_LOCAL
REPLAY_PERIOD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
Gets the identifying string of the filter type.String
toString()
static AMQPFilterTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static AMQPFilterTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JMS_SELECTOR
public static final AMQPFilterTypes JMS_SELECTOR
-
NO_CONSUME
public static final AMQPFilterTypes NO_CONSUME
-
AUTO_CLOSE
public static final AMQPFilterTypes AUTO_CLOSE
-
NO_LOCAL
public static final AMQPFilterTypes NO_LOCAL
-
REPLAY_PERIOD
public static final AMQPFilterTypes REPLAY_PERIOD
-
-
Method Detail
-
values
public static AMQPFilterTypes[] 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 (AMQPFilterTypes c : AMQPFilterTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AMQPFilterTypes 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
-
getValue
public String getValue()
Gets the identifying string of the filter type.- Returns:
- The identifying string of the filter type.
-
toString
public String toString()
- Overrides:
toString
in classEnum<AMQPFilterTypes>
-
-