Class CustomAction
java.lang.Object
com.codingapi.flow.action.BaseAction
com.codingapi.flow.action.actions.CustomAction
- All Implemented Interfaces:
IFlowAction,ICopyAbility<IFlowAction>,IMapConvertor
自定义动作
分为前端动作和后端动作两种,针对后端动作会执行 script的逻辑
针对前端会在前端抛出 triggerFrontEvent 事件
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(IFlowAction action) static CustomActionstatic CustomActionvoidrun(FlowSession flowSession) 执行动作 业务流程的处理入口时通过run函数触发开启的流程toMap()Methods inherited from class com.codingapi.flow.action.BaseAction
display, enable, equals, fromMap, generateRecords, id, show, title, triggerNode, type
-
Field Details
-
DEFAULT_TITLE
- See Also:
-
-
Constructor Details
-
CustomAction
public CustomAction()
-
-
Method Details
-
defaultAction
-
run
Description copied from interface:IFlowAction执行动作 业务流程的处理入口时通过run函数触发开启的流程- Specified by:
runin interfaceIFlowAction- Overrides:
runin classBaseAction- Parameters:
flowSession- 会话
-
copy
- Specified by:
copyin interfaceICopyAbility<IFlowAction>- Overrides:
copyin classBaseAction
-
fromMap
-
toMap
- Specified by:
toMapin interfaceIMapConvertor- Overrides:
toMapin classBaseAction
-