Package org.apache.nifi.jms.processors
Enum Class JMSPublisher.JmsPropertySetterEnum
java.lang.Object
java.lang.Enum<JMSPublisher.JmsPropertySetterEnum>
org.apache.nifi.jms.processors.JMSPublisher.JmsPropertySetterEnum
- All Implemented Interfaces:
Serializable,Comparable<JMSPublisher.JmsPropertySetterEnum>,Constable,JMSPublisher.JmsPropertySetter
- Enclosing class:
JMSPublisher
public static enum JMSPublisher.JmsPropertySetterEnum
extends Enum<JMSPublisher.JmsPropertySetterEnum>
implements JMSPublisher.JmsPropertySetter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionvoidsetProperty(jakarta.jms.Message message, String name, String value) Returns the enum constant of this class with the specified name.static JMSPublisher.JmsPropertySetterEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
-
BYTE
-
SHORT
-
INTEGER
-
LONG
-
FLOAT
-
DOUBLE
-
STRING
-
-
Field Details
-
setter
-
-
Constructor Details
-
JmsPropertySetterEnum
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
setProperty
public void setProperty(jakarta.jms.Message message, String name, String value) throws jakarta.jms.JMSException, NumberFormatException - Specified by:
setPropertyin interfaceJMSPublisher.JmsPropertySetter- Throws:
jakarta.jms.JMSExceptionNumberFormatException
-