org.mule.transport.polling.watermark
Class WatermarkUtils

java.lang.Object
  extended by org.mule.transport.polling.watermark.WatermarkUtils

public abstract class WatermarkUtils
extends Object


Constructor Summary
WatermarkUtils()
           
 
Method Summary
static Serializable evaluate(String expression, MuleEvent event)
          Evaluates a mel expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatermarkUtils

public WatermarkUtils()
Method Detail

evaluate

public static Serializable evaluate(String expression,
                                    MuleEvent event)
                             throws NotSerializableException
Evaluates a mel expression. If the value is not an expression or if it is not valid then returns the same value. The expression is expected to

Parameters:
expression - The expression the user wrote in the xml. Can be an expression or not
event - The mule event in which we need to evaluate the expression
Returns:
The evaluated value
Throws:
NotSerializableException - if the evaluated result is not Serializable


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.