Class TransformerConfiguration
- java.lang.Object
-
- org.apache.activemq.artemis.core.config.TransformerConfiguration
-
- All Implemented Interfaces:
Serializable
public final class TransformerConfiguration extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASS_NAME
static String
PROPERTIES
-
Constructor Summary
Constructors Constructor Description TransformerConfiguration()
TransformerConfiguration(String className)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.artemis.json.JsonObjectBuilder
createJsonObjectBuilder()
boolean
equals(Object obj)
static TransformerConfiguration
fromJSON(String jsonString)
This method returns aTransformerConfiguration
created from the JSON-formatted inputString
.String
getClassName()
Map<String,String>
getProperties()
int
hashCode()
void
setClassName(String className)
TransformerConfiguration
setProperties(Map<String,String> properties)
String
toString()
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
- See Also:
- Constant Field Values
-
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TransformerConfiguration
public TransformerConfiguration(String className)
-
TransformerConfiguration
public TransformerConfiguration()
-
-
Method Detail
-
setClassName
public void setClassName(String className)
-
getClassName
public String getClassName()
-
fromJSON
public static TransformerConfiguration fromJSON(String jsonString)
This method returns aTransformerConfiguration
created from the JSON-formatted inputString
. The input should contain these entries:- class-name - a string value,
- properties - an object containing string key-value pairs.
- Parameters:
jsonString
- json string- Returns:
- the
TransformerConfiguration
created from the JSON-formatted inputString
-
createJsonObjectBuilder
public org.apache.activemq.artemis.json.JsonObjectBuilder createJsonObjectBuilder()
-
setProperties
public TransformerConfiguration setProperties(Map<String,String> properties)
- Parameters:
properties
- the properties to set
-
-