public abstract class AbstractAddVariablePropertyProcessor<T> extends SimpleMessageProcessor
ReactiveProcessor.ProcessingTypemuleContext| Constructor and Description |
|---|
AbstractAddVariablePropertyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Event |
addProperty(Event event,
String propertyName,
T value,
org.mule.runtime.api.metadata.DataType dataType)
Adds the property with its value and dataType to a property or variables scope.
|
org.mule.runtime.api.metadata.DataType |
getReturnDataType() |
void |
initialise() |
Event |
process(Event event)
Invokes the MessageProcessor.
|
protected abstract Event |
removeProperty(Event event,
String propertyName)
Removes the property from a property or variables scope.
|
protected Charset |
resolveEncoding(Object src) |
void |
setIdentifier(String identifier) |
void |
setReturnDataType(org.mule.runtime.api.metadata.DataType type) |
void |
setValue(String value) |
setMuleContextgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProcessingTypepublic AbstractAddVariablePropertyProcessor()
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Processorevent - MuleEvent to be processedorg.mule.runtime.api.exception.MuleExceptionprotected abstract Event addProperty(Event event, String propertyName, T value, org.mule.runtime.api.metadata.DataType dataType)
event - event to which property is to be addedpropertyName - name of the property or variable to addvalue - value of the property or variable to adddataType - data type of the property or variable to addprotected abstract Event removeProperty(Event event, String propertyName)
event - event to which property is to be removedpropertyName - name of the property or variable to removepublic void setIdentifier(String identifier)
public void setValue(String value)
public void setReturnDataType(org.mule.runtime.api.metadata.DataType type)
public org.mule.runtime.api.metadata.DataType getReturnDataType()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.