public interface Context
extends java.io.Serializable
EventFactory
, ErrorListener
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getECID()
Returns the execution context id associated to the component
|
ErrorListener |
getErrorListener()
Returns the error listener that receives error information and have Oracle Stream Analytics to process the error
|
EventFactory |
getEventFactory()
Returns the event factor to create events
|
java.lang.String |
getId()
Returns the id associated to this component
|
java.lang.Object |
getParam(java.lang.String key)
Retrives the parameter associated to the given key
|
void |
setParam(java.lang.String key, java.lang.Object value)
Puts the parameter object with a key into the context
|
EventFactory getEventFactory()
ErrorListener getErrorListener()
java.lang.Object getParam(java.lang.String key)
key
- - a key stringvoid setParam(java.lang.String key, java.lang.Object value)
key
- - a key stringvalue
- - a parameter objectjava.lang.String getId()
java.lang.String getECID()