public class TaskAppDeploymentRequestCreator extends Object
AppDeploymentRequest from a
TaskDefinition and deployment
properties map.| Constructor and Description |
|---|
TaskAppDeploymentRequestCreator(CommonApplicationProperties commonApplicationProperties,
ApplicationConfigurationMetadataResolver metaDataResolver,
String dataflowServerUri)
Initializes the
TaskAppDeploymentRequestCreator. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest |
createRequest(org.springframework.cloud.task.repository.TaskExecution taskExecution,
TaskExecutionInformation taskExecutionInformation,
List<String> commandLineArgs,
String platformName,
String platformType)
|
public TaskAppDeploymentRequestCreator(CommonApplicationProperties commonApplicationProperties, ApplicationConfigurationMetadataResolver metaDataResolver, String dataflowServerUri)
TaskAppDeploymentRequestCreator.commonApplicationProperties - the common application properties for all tasksmetaDataResolver - the metadata resolverdataflowServerUri - the URI of the data flow serverpublic org.springframework.cloud.deployer.spi.core.AppDeploymentRequest createRequest(org.springframework.cloud.task.repository.TaskExecution taskExecution,
TaskExecutionInformation taskExecutionInformation,
List<String> commandLineArgs,
String platformName,
String platformType)
taskExecution - the task executiontaskExecutionInformation - the task execution infocommandLineArgs - the command line argsplatformName - the platform nameAppDeploymentRequestCopyright © 2021 Pivotal Software, Inc.. All rights reserved.