public class MVELInformationTransformer extends InformationTransformer
Constructor and Description |
---|
MVELInformationTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getExpression()
This method returns the expression.
|
void |
init()
This method initializes the information transformer.
|
void |
setExpression(String expr)
This method sets the expression.
|
String |
transform(Object information,
Map<String,Object> headers,
ActivityType activityType)
This method transforms the supplied information and
returns the textual representation of the result.
|
close, transform
public String getExpression()
public void setExpression(String expr)
expr
- The expressionpublic void init() throws Exception
init
in class InformationTransformer
Exception
- Failed to initializepublic String transform(Object information, Map<String,Object> headers, ActivityType activityType)
transform
in class InformationTransformer
information
- The informationheaders
- The optional header informationactivityType
- The optional activity typeCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.