public interface TaskOperations
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(long id)
Cleanup any resources associated with the execution for the id specified.
|
TaskDefinitionResource |
create(String name,
String definition)
Create a new task definition
|
void |
destroy(String name)
Destroy an existing task.
|
org.springframework.hateoas.PagedResources<TaskExecutionResource> |
executionList() |
org.springframework.hateoas.PagedResources<TaskExecutionResource> |
executionListByTaskName(String taskName)
List task executions known to the system filtered by task name.
|
long |
launch(String name,
Map<String,String> properties,
List<String> arguments)
Launch an already created task.
|
org.springframework.hateoas.PagedResources<TaskDefinitionResource> |
list() |
TaskExecutionResource |
taskExecutionStatus(long id)
Return the
TaskExecutionResource for the id specified. |
org.springframework.hateoas.PagedResources<TaskDefinitionResource> list()
TaskDefinitionResource create(String name, String definition)
name - the name of the taskdefinition - the task definition DSLlong launch(String name, Map<String,String> properties, List<String> arguments)
name - the name of the taskproperties - the deployment propertiesarguments - the command line argumentsvoid destroy(String name)
name - the name of the taskorg.springframework.hateoas.PagedResources<TaskExecutionResource> executionList()
org.springframework.hateoas.PagedResources<TaskExecutionResource> executionListByTaskName(String taskName)
taskName - of the executions.TaskExecutionResource taskExecutionStatus(long id)
TaskExecutionResource for the id specified.id - identifier of the task executionTaskExecutionResourcevoid cleanup(long id)
id - identifier of the task executionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.