Interface ExpressionAwareParameter
public interface ExpressionAwareParameter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionextractExpression(Object value) Parse the given value and remove expression markers if it is considered as an expression.org.mule.runtime.api.meta.model.parameter.ParameterModelgetModel()booleanisExpression(Object value) Checks if the is an expression.
-
Field Details
-
DEFAULT_EXPRESSION_PREFIX
- See Also:
-
DEFAULT_EXPRESSION_SUFFIX
- See Also:
-
-
Method Details
-
getModel
org.mule.runtime.api.meta.model.parameter.ParameterModel getModel()- Returns:
- the model that represents this parameter.
-
extractExpression
Parse the given value and remove expression markers if it is considered as an expression.- Parameters:
value- Value to parse- Returns:
- a Optional containing the expression without markers, empty if the value is not an expression.
-
isExpression
Checks if the is an expression.- Parameters:
value-- Returns:
trueif the is an expression.
-