Package org.apache.qpid.jms.message
Enum JmsMessageIDBuilder.BUILTIN
- All Implemented Interfaces:
Serializable,Comparable<JmsMessageIDBuilder.BUILTIN>
- Enclosing interface:
- JmsMessageIDBuilder
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic JmsMessageIDBuilderCreates a new JmsMessageIDBuilder from the named type (case insensitive).abstract JmsMessageIDBuilderstatic JmsMessageIDBuilder.BUILTINValidates 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.BUILTINReturns 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 Details
-
DEFAULT
-
UUID
-
UUID_STRING
-
PREFIXED_UUID_STRING
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
create
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
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.
-