public class AgentInstanceScriptContext extends java.lang.Object implements EPLScriptContext
Modifier and Type | Method and Description |
---|---|
static AgentInstanceScriptContext |
from(EventAdapterService eventAdapterService) |
EventBeanService |
getEventBeanService()
Returns event and event type services
|
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.
|
public EventBeanService getEventBeanService()
EPLScriptContext
getEventBeanService
in interface EPLScriptContext
public void setScriptAttribute(java.lang.String attribute, java.lang.Object value)
EPLScriptContext
setScriptAttribute
in interface EPLScriptContext
attribute
- name to usevalue
- value to setpublic java.lang.Object getScriptAttribute(java.lang.String attribute)
EPLScriptContext
getScriptAttribute
in interface EPLScriptContext
attribute
- name to retrieve value forpublic static AgentInstanceScriptContext from(EventAdapterService eventAdapterService)