public class JavaCommandBuilder extends Object implements CommandBuilder
Constructor and Description |
---|
JavaCommandBuilder(LocalDeployerProperties properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJavaExecutionOptions(List<String> commands,
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request) |
protected void |
addJavaOptions(List<String> commands,
Map<String,String> deploymentProperties,
LocalDeployerProperties localDeployerProperties) |
String[] |
buildExecutionCommand(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request,
Map<String,String> args)
Builds the execution command for an application.
|
public JavaCommandBuilder(LocalDeployerProperties properties)
public String[] buildExecutionCommand(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request, Map<String,String> args)
CommandBuilder
buildExecutionCommand
in interface CommandBuilder
request
- the request for the application to executeargs
- the properties to use when building the execution commandprotected void addJavaOptions(List<String> commands, Map<String,String> deploymentProperties, LocalDeployerProperties localDeployerProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.