public abstract class AbstractOldFlowExecutorImpl extends Object implements FlowExecutor
DEFAULT_BEGIN_NODE, DEFAULT_END_NODE, EXCEPTION_DEAL_FLOW, EXCEPTION_DEAL_NODE, EXCEPTION_DEAL_NODE_KEY, EXCEPTION_DEAL_SUBFLOW, EXCEPTION_KEY, FLOW_BEAN, FLOW_XSTREAM_PACKAGENAME, PAGE_FLOW_BEAN
Constructor and Description |
---|
AbstractOldFlowExecutorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ComponentDefine component) |
void |
addComponents(ComponentDefines components) |
void |
addFlow(Flow flow) |
void |
addSubFlow(SubFlow subFlow) |
void |
assemble()
组装flow,主要用于处理继承关系
|
ComponentDefine |
getComponentDefine(String componentName) |
List<ComponentDefine> |
getComponentDefines() |
ComponentInterface |
getComponentInstance(String componentName)
根据组件名称获取组件实例
|
Flow |
getFlow(String flowId) |
Map<String,Flow> |
getFlowIdMap()
返回流程Map
|
SubFlow |
getSubFlow(String subFlowId) |
boolean |
isChange() |
void |
removeComponent(ComponentDefine component) |
void |
removeComponents(ComponentDefines components) |
void |
removeFlow(Flow flow) |
void |
removeFlow(String flowId) |
void |
removeSubFlow(String subFlowId) |
void |
removeSubFlow(SubFlow subFlow) |
void |
setChange(boolean change) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, getInputContext, getOutputContext
getSubFlowIdMap
public void addComponents(ComponentDefines components)
addComponents
in interface ComponentManager
public void removeComponents(ComponentDefines components)
removeComponents
in interface ComponentManager
public ComponentInterface getComponentInstance(String componentName)
ComponentManager
getComponentInstance
in interface ComponentManager
public void addComponent(ComponentDefine component)
addComponent
in interface ComponentManager
public void removeComponent(ComponentDefine component)
removeComponent
in interface ComponentManager
public ComponentDefine getComponentDefine(String componentName)
getComponentDefine
in interface ComponentManager
public boolean isChange()
isChange
in interface FlowExecutor
public void setChange(boolean change)
setChange
in interface FlowExecutor
public List<ComponentDefine> getComponentDefines()
getComponentDefines
in interface ComponentManager
public void assemble()
FlowManager
assemble
in interface FlowManager
public void addFlow(Flow flow)
addFlow
in interface FlowManager
public void removeFlow(Flow flow)
removeFlow
in interface FlowManager
public void removeFlow(String flowId)
removeFlow
in interface FlowManager
public Flow getFlow(String flowId)
getFlow
in interface FlowManager
public Map<String,Flow> getFlowIdMap()
FlowManager
getFlowIdMap
in interface FlowManager
public void addSubFlow(SubFlow subFlow)
addSubFlow
in interface SubFlowManager
public void removeSubFlow(SubFlow subFlow)
removeSubFlow
in interface SubFlowManager
public void removeSubFlow(String subFlowId)
removeSubFlow
in interface SubFlowManager
public SubFlow getSubFlow(String subFlowId)
getSubFlow
in interface SubFlowManager
Copyright © 2006–2018 TinyGroup. All rights reserved.