@RestController @RequestMapping(value="/tasks/validation") @ExposesResourceFor(value=TaskAppStatusResource.class) public class TaskValidationController extends Object
ValidationStatus
.Constructor and Description |
---|
TaskValidationController(TaskValidationService taskValidationService)
Create a
TaskValidationController that delegates to
TaskValidationService . |
Modifier and Type | Method and Description |
---|---|
TaskAppStatusResource |
validate(String name)
Return
TaskAppStatusResource showing the validation status the apps in a task. |
public TaskValidationController(TaskValidationService taskValidationService)
TaskValidationController
that delegates to
TaskValidationService
.taskValidationService
- the task service to use@RequestMapping(value="/{name}", method=GET) @ResponseStatus(value=OK) public TaskAppStatusResource validate(@PathVariable(value="name") String name)
TaskAppStatusResource
showing the validation status the apps in a task.name
- name of the task definitionCopyright © 2024 Pivotal Software, Inc.. All rights reserved.