Package com.luna.common.engine.task
Interface EngineNode<T>
- All Known Implementing Classes:
AbstractEngineNode
public interface EngineNode<T>
业务节点类,有一系列的EngineNode组合而成
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterInvoke
(EngineRunData nodeData, EngineContext engineContext) node执行完后执行的方法boolean
couldContinueExecute
(EngineContext engineContext) 是否可以执行,按照上下文控制获取扩展spiinvokeNode
(EngineRunData nodeData, EngineContext engineContext) Node的执行方法从EngineContext中获取此node结果的key
-
Method Details
-
invokeNode
Node的执行方法- Parameters:
nodeData
- nodeDataengineContext
- engineContext
-
afterInvoke
node执行完后执行的方法- Parameters:
nodeData
- nodeDataengineContext
- engineContext
-
resultKey
String resultKey()从EngineContext中获取此node结果的key- Returns:
- String
-
couldContinueExecute
是否可以执行,按照上下文控制- Parameters:
engineContext
-- Returns:
-
getSpiList
获取扩展spi- Returns:
-