Package org.apache.qpid.server.message
Enum InstanceProperties.Property
- java.lang.Object
-
- java.lang.Enum<InstanceProperties.Property>
-
- org.apache.qpid.server.message.InstanceProperties.Property
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstanceProperties.Property>
- Enclosing interface:
- InstanceProperties
public static enum InstanceProperties.Property extends java.lang.Enum<InstanceProperties.Property>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRATION
IMMEDIATE
MANDATORY
PERSISTENT
REDELIVERED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstanceProperties.Property
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstanceProperties.Property[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REDELIVERED
public static final InstanceProperties.Property REDELIVERED
-
PERSISTENT
public static final InstanceProperties.Property PERSISTENT
-
MANDATORY
public static final InstanceProperties.Property MANDATORY
-
IMMEDIATE
public static final InstanceProperties.Property IMMEDIATE
-
EXPIRATION
public static final InstanceProperties.Property EXPIRATION
-
-
Method Detail
-
values
public static InstanceProperties.Property[] 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 (InstanceProperties.Property c : InstanceProperties.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceProperties.Property 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
-
-