public class AgentInstanceScriptContext extends Object implements EPLScriptContext
Modifier and Type | Method and Description |
---|---|
static AgentInstanceScriptContext |
from(EventAdapterService eventAdapterService) |
EventBeanService |
getEventBeanService()
Returns event and event type services
|
Object |
getScriptAttribute(String attribute)
Return a script attribute value.
|
void |
setScriptAttribute(String attribute,
Object value)
Set a script attributed.
|
public EventBeanService getEventBeanService()
EPLScriptContext
getEventBeanService
in interface EPLScriptContext
public void setScriptAttribute(String attribute, Object value)
EPLScriptContext
setScriptAttribute
in interface EPLScriptContext
attribute
- name to usevalue
- value to setpublic Object getScriptAttribute(String attribute)
EPLScriptContext
getScriptAttribute
in interface EPLScriptContext
attribute
- name to retrieve value forpublic static AgentInstanceScriptContext from(EventAdapterService eventAdapterService)