Class TasksInfoController
java.lang.Object
org.springframework.cloud.dataflow.server.controller.TasksInfoController
Controller for operations on
TaskExecution
. This includes
obtaining task execution information from the task explorer.- Author:
- Glenn Renfro, Michael Minella, Ilayaperumal Gopinathan, Christian Tzolov, David Turanski, Gunnar Hillert
-
Constructor Summary
ConstructorDescriptionTasksInfoController
(TaskExecutionService taskExecutionService) Creates aTaskExecutionController
that retrieves Task Executions information -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
TasksInfoController
Creates aTaskExecutionController
that retrieves Task Executions information- Parameters:
taskExecutionService
- used to launch tasks
-
-
Method Details
-
getInfo
@GetMapping("executions") @ResponseStatus(OK) public TaskExecutionsInfoResource getInfo(@RequestParam(required=false,defaultValue="false") String completed, @RequestParam(required=false,defaultValue="",name="name") String taskName, @RequestParam(required=false) Integer days)
-