Package org.apache.qpid.jms.message
Enum JmsMessageIDBuilder.BUILTIN
- java.lang.Object
-
- java.lang.Enum<JmsMessageIDBuilder.BUILTIN>
-
- org.apache.qpid.jms.message.JmsMessageIDBuilder.BUILTIN
-
- All Implemented Interfaces:
Serializable,Comparable<JmsMessageIDBuilder.BUILTIN>
- Enclosing interface:
- JmsMessageIDBuilder
public static enum JmsMessageIDBuilder.BUILTIN extends Enum<JmsMessageIDBuilder.BUILTIN>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTPREFIXED_UUID_STRINGUUIDUUID_STRING
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static JmsMessageIDBuildercreate(String value)Creates a new JmsMessageIDBuilder from the named type (case insensitive).abstract JmsMessageIDBuildercreateBuilder()static JmsMessageIDBuilder.BUILTINvalidate(String value)Validates the value given maps to the built in message ID builders and return the builder enumeration that it maps to which can later be used to create builders of that type.static JmsMessageIDBuilder.BUILTINvalueOf(String name)Returns the enum constant of this type with the specified name.static JmsMessageIDBuilder.BUILTIN[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final JmsMessageIDBuilder.BUILTIN DEFAULT
-
UUID
public static final JmsMessageIDBuilder.BUILTIN UUID
-
UUID_STRING
public static final JmsMessageIDBuilder.BUILTIN UUID_STRING
-
PREFIXED_UUID_STRING
public static final JmsMessageIDBuilder.BUILTIN PREFIXED_UUID_STRING
-
-
Method Detail
-
values
public static JmsMessageIDBuilder.BUILTIN[] 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 (JmsMessageIDBuilder.BUILTIN c : JmsMessageIDBuilder.BUILTIN.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JmsMessageIDBuilder.BUILTIN 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
-
createBuilder
public abstract JmsMessageIDBuilder createBuilder()
-
create
public static JmsMessageIDBuilder create(String value)
Creates a new JmsMessageIDBuilder from the named type (case insensitive).- Parameters:
value- The name of the builder to create.- Returns:
- a new JmsMessageIDBuilder that matches the named type.
- Throws:
IllegalArgumentException- if the named type is unknown.
-
validate
public static JmsMessageIDBuilder.BUILTIN validate(String value)
Validates the value given maps to the built in message ID builders and return the builder enumeration that it maps to which can later be used to create builders of that type.- Parameters:
value- The name of one of the built in message ID builders.- Returns:
- the enumeration value that maps to the built in builder.
-
-