public class TaskLaunchRequest extends Object implements Serializable
| Constructor and Description |
|---|
TaskLaunchRequest()
Constructor for the TaskLaunchRequest.
|
TaskLaunchRequest(String uri,
List<String> commandlineArguments,
Map<String,String> environmentProperties,
Map<String,String> deploymentProperties,
String applicationName)
Constructor for the TaskLaunchRequest.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getApplicationName()
Returns the name that will be associated with the launched task.
|
List<String> |
getCommandlineArguments() |
Map<String,String> |
getDeploymentProperties()
Returns the properties used by a
TaskLauncher. |
Map<String,String> |
getEnvironmentProperties()
Retrieves the environment variables for the task.
|
String |
getUri() |
int |
hashCode() |
void |
setApplicationName(String applicationName)
Sets the name to be applied to the launched task.
|
String |
toString() |
public TaskLaunchRequest(String uri, List<String> commandlineArguments, Map<String,String> environmentProperties, Map<String,String> deploymentProperties, String applicationName)
uri - the URI to the task artifact to be launched.commandlineArguments - list of commandlineArguments to be used by the taskenvironmentProperties - are the environment variables for this task.deploymentProperties - are the variables used to setup task on the platform.applicationName - name to be applied to the launched task. If set to null then
the launched task name will be "Task-`hash code of the TaskLaunchRequest`.public TaskLaunchRequest()
public String getUri()
public List<String> getCommandlineArguments()
public Map<String,String> getEnvironmentProperties()
public Map<String,String> getDeploymentProperties()
TaskLauncher.public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName - the name to beCopyright © 2019 Pivotal Software, Inc.. All rights reserved.