public class MapChainDriver extends AbstractChainDriver
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,TaskComponent> |
components |
| Constructor and Description |
|---|
MapChainDriver() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getComponent(String key)
获取组件
|
static MapChainDriver |
getInstance() |
void |
putComponent(String key,
TaskComponent component)
添加组件
|
void |
removeComponent(String key)
移除组件
|
handleConditionDo, handleTask, handleTaskDo, handleTest, isChain, isComponent, onNodeEnd, onNodeStart, tryAsChainTask, tryAsComponentTask, tryAsScriptCondition, tryAsScriptTaskprotected final Map<String,TaskComponent> components
public static MapChainDriver getInstance()
public void putComponent(String key, TaskComponent component)
public void removeComponent(String key)
public Object getComponent(String key)
getComponent in class AbstractChainDriverCopyright © 2025. All rights reserved.