public class AttributeEvaluator extends Object
| Constructor and Description |
|---|
AttributeEvaluator(String attributeValue)
Creates a new Attribute Evaluator instance with a given attribute value
|
AttributeEvaluator(String attributeValue,
org.mule.runtime.api.metadata.DataType expectedDataType)
Creates a new Attribute Evaluator instance with a given attribute value and the expected
DataType |
| Modifier and Type | Method and Description |
|---|---|
String |
getRawValue() |
AttributeEvaluator |
initialize(ExtendedExpressionManager expressionManager) |
<T> org.mule.runtime.api.metadata.TypedValue<T> |
resolveTypedValue(Event event) |
<T> T |
resolveValue(Event event) |
public AttributeEvaluator(String attributeValue)
attributeValue - the value for an attribute, this value can be treated as AttributeType#EXPRESSION,
AttributeType#PARSE_EXPRESSION or as a AttributeType#STATIC_VALUEpublic AttributeEvaluator(String attributeValue, org.mule.runtime.api.metadata.DataType expectedDataType)
DataTypeattributeValue - the value for an attribute, this value can be treated as AttributeType#EXPRESSION,
AttributeType#PARSE_EXPRESSION or as a AttributeType#STATIC_VALUEexpectedDataType - specifies that the expression should be evaluated a coerced to the given expected DataType.
This value will be ignored for AttributeType#PARSE_EXPRESSION and AttributeType#STATIC_VALUEpublic AttributeEvaluator initialize(ExtendedExpressionManager expressionManager)
public <T> org.mule.runtime.api.metadata.TypedValue<T> resolveTypedValue(Event event)
public <T> T resolveValue(Event event)
public String getRawValue()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.