| Modifier and Type | Field and Description |
|---|---|
protected Deployer |
deployer |
protected String |
name |
| Constructor and Description |
|---|
App(String name) |
App(String name,
List<String> buildpacks) |
App(String client,
String name,
File rootDir,
File targetDir,
List<String> buildpacks) |
| Modifier and Type | Method and Description |
|---|---|
protected static File |
createTempDir() |
protected Map<String,String> |
defaultProcTypes() |
void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
String jdkVersion,
Map<String,String> userDefinedProcessTypes,
String tarFilename) |
protected File |
getAppDir() |
String |
getName() |
protected File |
getRootDir() |
protected File |
getTargetDir() |
Boolean |
isUploadProgressEnabled() |
void |
logDebug(String message) |
void |
logError(String message) |
void |
logInfo(String message) |
void |
logUploadProgress(Long uploaded,
Long contentLength) |
void |
logWarn(String message) |
protected void |
prepare(List<File> includedFiles,
Map<String,String> processTypes) |
protected String |
relativize(File path) |
public App(String name) throws IOException
IOExceptionpublic App(String name, List<String> buildpacks) throws IOException
IOExceptionpublic void logUploadProgress(Long uploaded, Long contentLength)
logUploadProgress in interface Loggerpublic Boolean isUploadProgressEnabled()
isUploadProgressEnabled in interface Loggerpublic String getName()
public void deploy(List<File> includedFiles, Map<String,String> configVars, String jdkVersion, Map<String,String> userDefinedProcessTypes, String tarFilename) throws Exception
Exceptionprotected void prepare(List<File> includedFiles, Map<String,String> processTypes) throws IOException
IOExceptionprotected static File createTempDir() throws IOException
IOExceptionprotected File getAppDir()
protected File getRootDir()
protected File getTargetDir()
Copyright © 2019. All rights reserved.