public static class StatementLifecycleSvcImpl.EPStatementDesc extends Object
Constructor and Description |
---|
EPStatementDesc(EPStatementSPI epStatement,
EPStatementStartMethod startMethod,
StatementContext statementContext)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EPStatementDestroyMethod |
getDestroyMethod()
Return destroy method.
|
EPStatementSPI |
getEpStatement()
Returns the statement.
|
EPStatementStartMethod |
getStartMethod()
Returns the start method.
|
StatementContext |
getStatementContext()
Returns the statement context.
|
EPStatementStopMethod |
getStopMethod()
Returns the stop method.
|
void |
setDestroyMethod(EPStatementDestroyMethod destroyMethod)
Set method to call when destroyed.
|
void |
setStopMethod(EPStatementStopMethod stopMethod)
Sets the stop method.
|
public EPStatementDesc(EPStatementSPI epStatement, EPStatementStartMethod startMethod, StatementContext statementContext)
epStatement
- the statementstartMethod
- the start methodstatementContext
- statement contextpublic EPStatementSPI getEpStatement()
public EPStatementStartMethod getStartMethod()
public EPStatementStopMethod getStopMethod()
public void setStopMethod(EPStatementStopMethod stopMethod)
stopMethod
- to setpublic StatementContext getStatementContext()
public void setDestroyMethod(EPStatementDestroyMethod destroyMethod)
destroyMethod
- methodpublic EPStatementDestroyMethod getDestroyMethod()