public static enum JMSPublisher.JmsPropertySetterEnum extends Enum<JMSPublisher.JmsPropertySetterEnum> implements JMSPublisher.JmsPropertySetter
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
STRING |
| Modifier and Type | Field and Description |
|---|---|
private JMSPublisher.JmsPropertySetter |
setter |
| Modifier and Type | Method and Description |
|---|---|
void |
setProperty(javax.jms.Message message,
String name,
String value) |
static JMSPublisher.JmsPropertySetterEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JMSPublisher.JmsPropertySetterEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JMSPublisher.JmsPropertySetterEnum BOOLEAN
public static final JMSPublisher.JmsPropertySetterEnum BYTE
public static final JMSPublisher.JmsPropertySetterEnum SHORT
public static final JMSPublisher.JmsPropertySetterEnum INTEGER
public static final JMSPublisher.JmsPropertySetterEnum LONG
public static final JMSPublisher.JmsPropertySetterEnum FLOAT
public static final JMSPublisher.JmsPropertySetterEnum DOUBLE
public static final JMSPublisher.JmsPropertySetterEnum STRING
private final JMSPublisher.JmsPropertySetter setter
public static JMSPublisher.JmsPropertySetterEnum[] values()
for (JMSPublisher.JmsPropertySetterEnum c : JMSPublisher.JmsPropertySetterEnum.values()) System.out.println(c);
public static JMSPublisher.JmsPropertySetterEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void setProperty(javax.jms.Message message,
String name,
String value)
throws javax.jms.JMSException,
NumberFormatException
setProperty in interface JMSPublisher.JmsPropertySetterjavax.jms.JMSExceptionNumberFormatExceptionCopyright © 2021 Apache NiFi Project. All rights reserved.