Package com.codingapi.flow.node.nodes
Class NotifyNode
java.lang.Object
com.codingapi.flow.node.BaseFlowNode
com.codingapi.flow.node.BaseAuditNode
com.codingapi.flow.node.nodes.NotifyNode
- All Implemented Interfaces:
IMapConvertor,IFlowNode
抄送节点
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.codingapi.flow.node.BaseAuditNode
DEFAULT_VIEWFields inherited from class com.codingapi.flow.node.BaseFlowNode
actions, id, name, order, strategies -
Constructor Summary
ConstructorsConstructorDescriptionNotifyNode(String id, String name, String view, List<IFlowAction> actions, List<INodeStrategy> nodeStrategies) -
Method Summary
Modifier and TypeMethodDescriptionstatic NotifyNode.Builderbuilder()voidfillNewRecord(FlowSession session, FlowRecord flowRecord) 填充流程记录,在保存流程记录时将会触发当前节点的填充流程记录函数。static NotifyNodegenerateCurrentRecords(FlowSession session) 生成当前节点的记录getType()流程类型booleanhandle(FlowSession session) 是否执行节点 当前流程节点执行完成以后,触发下一环节时执行的函数,当返回true时则将继续执行后续节点的handle流程,当返回false时则不继续执行后续流程,将执行当前节点的创建流程记录函数IFlowNode.generateCurrentRecords(FlowSession)booleanisDone(FlowSession session) 节点是否完成Methods inherited from class com.codingapi.flow.node.BaseAuditNode
formMap, toMap, verifyNodeMethods inherited from class com.codingapi.flow.node.BaseFlowNode
actionManager, equals, filterBranches, fromMap, isWaitRecordMargeParallelNode, setActions, setStrategies, strategyManager, verifySessionMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codingapi.flow.node.IFlowNode
actionManager, filterBranches, getId, getName, getOrder, strategyManager, verifySession
-
Field Details
-
NODE_TYPE
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
NotifyNode
public NotifyNode(String id, String name, String view, List<IFlowAction> actions, List<INodeStrategy> nodeStrategies) -
NotifyNode
public NotifyNode()
-
-
Method Details
-
getType
Description copied from interface:IFlowNode流程类型 -
handle
Description copied from interface:IFlowNode是否执行节点 当前流程节点执行完成以后,触发下一环节时执行的函数,当返回true时则将继续执行后续节点的handle流程,当返回false时则不继续执行后续流程,将执行当前节点的创建流程记录函数IFlowNode.generateCurrentRecords(FlowSession)- Specified by:
handlein interfaceIFlowNode- Overrides:
handlein classBaseAuditNode- Parameters:
session- 会话- Returns:
- true: 继续执行下一个节点
-
fillNewRecord
Description copied from interface:IFlowNode填充流程记录,在保存流程记录时将会触发当前节点的填充流程记录函数。由于不同节点存储的流程数据会存在差异。- Specified by:
fillNewRecordin interfaceIFlowNode- Overrides:
fillNewRecordin classBaseAuditNode- Parameters:
session- 会话flowRecord- 流程记录
-
isDone
Description copied from interface:IFlowNode节点是否完成- Specified by:
isDonein interfaceIFlowNode- Overrides:
isDonein classBaseAuditNode- Parameters:
session- 会话- Returns:
- true: 节点完成
-
generateCurrentRecords
生成当前节点的记录- Specified by:
generateCurrentRecordsin interfaceIFlowNode- Overrides:
generateCurrentRecordsin classBaseAuditNode- Parameters:
session- 触发会话- Returns:
- 生成当前节点的记录
-
formMap
-
builder
-