@RestController @RequestMapping(value="/workflow") public class WorkflowController extends Object
| 构造器和说明 |
|---|
WorkflowController() |
| 限定符和类型 | 方法和说明 |
|---|---|
tech.powerjob.common.response.ResultDTO<List<tech.powerjob.server.persistence.remote.model.WorkflowNodeInfoDO>> |
addWorkflowNode(List<tech.powerjob.common.request.http.SaveWorkflowNodeRequest> request) |
tech.powerjob.common.response.ResultDTO<Long> |
copy(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
deleteWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
disableWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<Void> |
enableWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<WorkflowInfoVO> |
fetchWorkflow(Long workflowId,
Long appId) |
tech.powerjob.common.response.ResultDTO<tech.powerjob.server.persistence.PageResult<WorkflowInfoVO>> |
list(QueryWorkflowInfoRequest req) |
tech.powerjob.common.response.ResultDTO<Long> |
runWorkflow(Long workflowId,
Long appId,
Long delay,
String initParams) |
tech.powerjob.common.response.ResultDTO<Long> |
save(tech.powerjob.common.request.http.SaveWorkflowRequest req) |
@PostMapping(value="/save") public tech.powerjob.common.response.ResultDTO<Long> save(@RequestBody tech.powerjob.common.request.http.SaveWorkflowRequest req) throws ParseException
ParseException@PostMapping(value="/copy") public tech.powerjob.common.response.ResultDTO<Long> copy(Long workflowId, Long appId)
@GetMapping(value="/disable") public tech.powerjob.common.response.ResultDTO<Void> disableWorkflow(Long workflowId, Long appId)
@GetMapping(value="/enable") public tech.powerjob.common.response.ResultDTO<Void> enableWorkflow(Long workflowId, Long appId)
@GetMapping(value="/delete") public tech.powerjob.common.response.ResultDTO<Void> deleteWorkflow(Long workflowId, Long appId)
@PostMapping(value="/list") public tech.powerjob.common.response.ResultDTO<tech.powerjob.server.persistence.PageResult<WorkflowInfoVO>> list(@RequestBody QueryWorkflowInfoRequest req)
@GetMapping(value="/run") public tech.powerjob.common.response.ResultDTO<Long> runWorkflow(Long workflowId, Long appId, @RequestParam(required=false,defaultValue="0") Long delay, @RequestParam(required=false) String initParams)
@GetMapping(value="/fetch") public tech.powerjob.common.response.ResultDTO<WorkflowInfoVO> fetchWorkflow(Long workflowId, Long appId)
Copyright © 2023. All rights reserved.