com.espertech.esper.client.hook
Interface EPLScriptContext

All Known Implementing Classes:
AgentInstanceScriptContext

public interface EPLScriptContext

Available when using JSR-223 scripts or MVEL, for access of script attributes.


Method Summary
 java.lang.Object getScriptAttribute(java.lang.String attribute)
          Return a script attribute value.
 void setScriptAttribute(java.lang.String attribute, java.lang.Object value)
          Set a script attributed.
 

Method Detail

setScriptAttribute

void setScriptAttribute(java.lang.String attribute,
                        java.lang.Object value)
Set a script attributed.

Parameters:
attribute - name to use
value - value to set

getScriptAttribute

java.lang.Object getScriptAttribute(java.lang.String attribute)
Return a script attribute value.

Parameters:
attribute - name to retrieve value for
Returns:
attribute value or null if undefined

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com