public class TaskLaunchRequest extends Object implements Serializable
Constructor and Description |
---|
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()
Returns an unmodifiable list of arguments that will be used for the task execution
|
Map<String,String> |
getDeploymentProperties()
Returns the properties used by a
TaskLauncher |
Map<String,String> |
getEnvironmentProperties()
Retrieves the environment variables for the task.
|
String |
getUri()
Returns the current uri to the artifact for this launch request.
|
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-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 © 2017 Pivotal Software, Inc.. All rights reserved.