@RestController @RequestMapping(value="/tasks/info") public class TasksInfoController extends Object
TaskExecution. This includes
obtaining task execution information from the task explorer.| Constructor and Description |
|---|
TasksInfoController(TaskExecutionService taskExecutionService)
Creates a
TaskExecutionController that retrieves Task Executions information |
| Modifier and Type | Method and Description |
|---|---|
TaskExecutionsInfoResource |
getInfo(String completed,
String taskName) |
public TasksInfoController(TaskExecutionService taskExecutionService)
TaskExecutionController that retrieves Task Executions informationtaskExecutionService - used to launch tasks@RequestMapping(value="executions",
method=GET)
@ResponseStatus(value=OK)
public TaskExecutionsInfoResource getInfo(@RequestParam(required=false,defaultValue="false",name="completed")
String completed,
@RequestParam(required=false,defaultValue="",name="name")
String taskName)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.