Enum BindingType
- java.lang.Object
-
- java.lang.Enum<BindingType>
-
- org.apache.activemq.artemis.core.postoffice.BindingType
-
- All Implemented Interfaces:
Serializable,Comparable<BindingType>
public enum BindingType extends Enum<BindingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIVERTLOCAL_QUEUEREMOTE_QUEUE
-
Field Summary
Fields Modifier and Type Field Description static intDIVERT_INDEXstatic intLOCAL_QUEUE_INDEXstatic intREMOTE_QUEUE_INDEX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description inttoInt()static BindingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BindingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_QUEUE
public static final BindingType LOCAL_QUEUE
-
REMOTE_QUEUE
public static final BindingType REMOTE_QUEUE
-
DIVERT
public static final BindingType DIVERT
-
-
Field Detail
-
LOCAL_QUEUE_INDEX
public static final int LOCAL_QUEUE_INDEX
- See Also:
- Constant Field Values
-
REMOTE_QUEUE_INDEX
public static final int REMOTE_QUEUE_INDEX
- See Also:
- Constant Field Values
-
DIVERT_INDEX
public static final int DIVERT_INDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BindingType[] 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 (BindingType c : BindingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BindingType 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
-
toInt
public int toInt()
-
-