public class SimpleChainDriver extends java.lang.Object implements ChainDriver
构造器和说明 |
---|
SimpleChainDriver() |
限定符和类型 | 方法和说明 |
---|---|
static SimpleChainDriver |
getInstance() |
boolean |
handleCondition(ChainContext context,
Condition condition)
处理连线条件
|
void |
handleTask(ChainContext context,
Task task)
处理执行任务
|
protected boolean |
isChain(java.lang.String description)
是否为组件
|
protected boolean |
isComponent(java.lang.String description)
是否为组件
|
void |
onNodeEnd(ChainContext context,
Node node)
节点运行结束时
|
void |
onNodeStart(ChainContext context,
Node node)
节点运行开始时
|
protected void |
tryAsScriptTask(ChainContext context,
Task task)
尝试作为脚本运行
|
protected boolean |
tryIfChainTask(ChainContext context,
Task task)
尝试如果是链则运行
|
protected boolean |
tryIfComponentTask(ChainContext context,
Task task)
尝试如果是组件则运行
|
public static SimpleChainDriver getInstance()
protected boolean isChain(java.lang.String description)
protected boolean isComponent(java.lang.String description)
public void onNodeStart(ChainContext context, Node node)
ChainDriver
onNodeStart
在接口中 ChainDriver
public void onNodeEnd(ChainContext context, Node node)
ChainDriver
onNodeEnd
在接口中 ChainDriver
public boolean handleCondition(ChainContext context, Condition condition) throws java.lang.Throwable
ChainDriver
handleCondition
在接口中 ChainDriver
java.lang.Throwable
public void handleTask(ChainContext context, Task task) throws java.lang.Throwable
ChainDriver
handleTask
在接口中 ChainDriver
java.lang.Throwable
protected boolean tryIfChainTask(ChainContext context, Task task) throws java.lang.Throwable
java.lang.Throwable
protected boolean tryIfComponentTask(ChainContext context, Task task) throws java.lang.Throwable
java.lang.Throwable
protected void tryAsScriptTask(ChainContext context, Task task) throws java.lang.Throwable
java.lang.Throwable