@RestController @RequestMapping(value="/tasks/platforms") @ExposesResourceFor(value=LauncherResource.class) public class TaskPlatformController extends Object
Constructor and Description |
---|
TaskPlatformController(LauncherService launcherService) |
Modifier and Type | Method and Description |
---|---|
org.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.
|
public TaskPlatformController(LauncherService launcherService)
@RequestMapping(value="", method=GET) @ResponseStatus(value=OK) public org.springframework.hateoas.PagedModel<LauncherResource> list(org.springframework.data.domain.Pageable pageable, @RequestParam(value="schedulesEnabled",required=false) String schedulesEnabled, org.springframework.data.web.PagedResourcesAssembler<Launcher> assembler)
pageable
- the Pageable requestschedulesEnabled
- optional criteria to indicate enabled schedules.assembler
- the paged resource assembler for Launcher*LauncherResource
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.