| |
|
| java.lang.Object org.mule.util.expression.FunctionExpressionEvaluator
FunctionExpressionEvaluator | public class FunctionExpressionEvaluator implements ExpressionEvaluator(Code) | | This property extractor doesn't actually extract a property from the message, instead it allows for certain functions
to be called and returns a result. The functions it supports are -
- now - returns an
java.sql.Timestamp with the current time.
- date - returns a
java.util.Date with the current time.
- dateStamp - returns a
java.lang.String that contains the current date formatted according to
FunctionExpressionEvaluator.DEFAULT_DATE_FORMAT .
- dateStamp(dd-MM-yyyy) - returns a
java.lang.String that contains the current date formatted according to the format passed into the function.
- uuid - returns a globally unique identifier
- hostname - returns the hostname of the machine Mule is running on
- ip - returns the ip address of the machine Mule is running on
- count - returns a local count that will increment for each call. If the server is re-started the counter will return to zero
|
COUNT_FUNCTION | final public static String COUNT_FUNCTION(Code) | | |
DATESTAMP_FUNCTION | final public static String DATESTAMP_FUNCTION(Code) | | |
DEFAULT_DATE_FORMAT | final public static String DEFAULT_DATE_FORMAT(Code) | | |
HOSTNAME_FUNCTION | final public static String HOSTNAME_FUNCTION(Code) | | |
SYSTIME_FUNCTION | final public static String SYSTIME_FUNCTION(Code) | | |
getName | public String getName()(Code) | | Gts the name of the object
the name of the object |
setName | public void setName(String name)(Code) | | Sets the name of the object
Parameters: name - the name of the object |
|
|
|