public interface TaskService
Modifier and Type | Method and Description |
---|---|
void |
cleanupExecution(long id)
Cleanup the resources that resulted from running the task with the given execution id.
|
long |
executeTask(String taskName,
Map<String,String> taskDeploymentProperties,
List<String> commandLineArgs)
Execute a task with the provided task name and optional runtime properties.
|
long executeTask(String taskName, Map<String,String> taskDeploymentProperties, List<String> commandLineArgs)
taskName
- Name of the task. Must not be null or empty.taskDeploymentProperties
- Optional deployment properties. Must not be null.commandLineArgs
- Optional runtime commandline argumentsvoid cleanupExecution(long id)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.