public class FunctionExpressionEvaluator extends AbstractExpressionEvaluator
Timestamp
with the current time.Date
with the current time.String
that contains the current date formatted according to DEFAULT_DATE_FORMAT
.String
that contains the current date formatted according to the format passed into the function.Modifier and Type | Field and Description |
---|---|
static String |
COUNT_FUNCTION |
static String |
DATE_FUNCTION |
static String |
DATESTAMP_FUNCTION |
static String |
DEFAULT_DATE_FORMAT |
static String |
HOSTNAME_FUNCTION |
static String |
IP_FUNCTION |
static String |
NAME |
static String |
NOW_FUNCTION |
static String |
PAYLOAD_CLASS_FUNCTION |
static String |
SHORT_PAYLOAD_CLASS_FUNCTION |
static String |
SYSTIME_FUNCTION |
static String |
UUID_FUNCTION |
Constructor and Description |
---|
FunctionExpressionEvaluator() |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String name,
MuleMessage message)
Extracts a single property from the message
|
String |
getName()
Gts the name of the object
|
evaluateTyped
public static final String NAME
public static final String DEFAULT_DATE_FORMAT
public static final String NOW_FUNCTION
public static final String DATE_FUNCTION
public static final String DATESTAMP_FUNCTION
public static final String SYSTIME_FUNCTION
public static final String UUID_FUNCTION
public static final String HOSTNAME_FUNCTION
public static final String IP_FUNCTION
public static final String COUNT_FUNCTION
public static final String PAYLOAD_CLASS_FUNCTION
public static final String SHORT_PAYLOAD_CLASS_FUNCTION
public Object evaluate(String name, MuleMessage message)
ExpressionEvaluator
name
- the property expression or expressionmessage
- the message to extract frompublic String getName()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.