org.apache.qpid.common
Enum AMQPFilterTypes
java.lang.Object
java.lang.Enum<AMQPFilterTypes>
org.apache.qpid.common.AMQPFilterTypes
- All Implemented Interfaces:
- Serializable, Comparable<AMQPFilterTypes>
public enum AMQPFilterTypes
- extends Enum<AMQPFilterTypes>
Specifies the different filter types for consumers that filter their messages.
CRC Card
Responsibilities | Collaborations
|
---|
Represent different consumer filter types.
|
JMS_SELECTOR
public static final AMQPFilterTypes JMS_SELECTOR
NO_CONSUME
public static final AMQPFilterTypes NO_CONSUME
AUTO_CLOSE
public static final AMQPFilterTypes AUTO_CLOSE
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 name
NullPointerException
- if the argument is null
getValue
public AMQShortString getValue()
- Gets the identifying string of the filter type.
- Returns:
- The identifying string of the filter type.
Licensed to the Apache Software Foundation