Class AgentInstanceScriptContext
java.lang.Object
com.espertech.esper.common.internal.epl.script.core.AgentInstanceScriptContext
- All Implemented Interfaces:
EPLScriptContext
Context-partition local script context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AgentInstanceScriptContext
from
(StatementContext statementContext) Returns event and event type servicesgetScriptAttribute
(String attribute) Return a script attribute value.void
setScriptAttribute
(String attribute, Object value) Set a script attributed.
-
Constructor Details
-
AgentInstanceScriptContext
-
-
Method Details
-
getEventBeanService
Description copied from interface:EPLScriptContext
Returns event and event type services- Specified by:
getEventBeanService
in interfaceEPLScriptContext
- Returns:
- event type and event services
-
setScriptAttribute
Description copied from interface:EPLScriptContext
Set a script attributed.- Specified by:
setScriptAttribute
in interfaceEPLScriptContext
- Parameters:
attribute
- name to usevalue
- value to set
-
getScriptAttribute
Description copied from interface:EPLScriptContext
Return a script attribute value.- Specified by:
getScriptAttribute
in interfaceEPLScriptContext
- Parameters:
attribute
- name to retrieve value for- Returns:
- attribute value or null if undefined
-
from
-