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
Modifier and TypeMethodDescriptionReturns event and event type servicesgetScriptAttribute
(String attribute) Return a script attribute value.void
setScriptAttribute
(String attribute, Object value) Set a script attributed.
-
Method Details
-
getEventBeanService
EventBeanService getEventBeanService()Returns event and event type services- Returns:
- event type and event services
-
setScriptAttribute
Set a script attributed.- Parameters:
attribute
- name to usevalue
- value to set
-
getScriptAttribute
Return a script attribute value.- Parameters:
attribute
- name to retrieve value for- Returns:
- attribute value or null if undefined
-