Class TaskPlatformController
java.lang.Object
org.springframework.cloud.dataflow.server.controller.TaskPlatformController
@RestController
@RequestMapping("/tasks/platforms")
@ExposesResourceFor(LauncherResource.class)
public class TaskPlatformController
extends Object
REST controller for task launching platform related operations.
- Author:
- Ilayaperumal Gopinathan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.hateoas.PagedModel<LauncherResource>
list
(org.springframework.data.domain.Pageable pageable, String schedulesEnabled, org.springframework.data.web.PagedResourcesAssembler<Launcher> assembler) Returns the list of platform accounts available for launching tasks.
-
Constructor Details
-
TaskPlatformController
-
-
Method Details
-
list
@GetMapping("") @ResponseStatus(OK) public org.springframework.hateoas.PagedModel<LauncherResource> list(org.springframework.data.domain.Pageable pageable, @RequestParam(required=false) String schedulesEnabled, org.springframework.data.web.PagedResourcesAssembler<Launcher> assembler) Returns the list of platform accounts available for launching tasks.- Parameters:
pageable
- the Pageable requestschedulesEnabled
- optional criteria to indicate enabled schedules.assembler
- the paged resource assembler for Launcher*- Returns:
- the paged resources of type
LauncherResource
-