| Modifier and Type | Class and Description |
|---|---|
static class |
App.CopyFileVisitor |
| Constructor and Description |
|---|
App(String name) |
App(String buildPackDesc,
String name,
File rootDir,
File targetDir) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copy(File file,
File copyTarget) |
void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
String jdkVersion,
String stack,
Map<String,String> processTypes) |
protected void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
String jdkVersion,
URL jdkUrl,
String stack,
Map<String,String> processTypes) |
void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
URL jdkUrl,
String stack,
Map<String,String> processTypes) |
protected Slug |
deploySlug(String stack,
Map<String,String> processTypes) |
protected File |
getAppDir() |
Map<String,String> |
getConfigVars() |
protected String |
getEncodedApiKey() |
protected File |
getHerokuDir() |
protected Properties |
getHerokuProperties() |
protected String |
getJdkVersion() |
protected Map<String,String> |
getProcfile() |
protected File |
getRootDir() |
void |
logDebug(String message) |
void |
logInfo(String message) |
void |
logWarn(String message) |
protected void |
prepare(List<File> includedFiles) |
protected String |
relativize(File path) |
protected String |
sanitizeJson(String json) |
protected void |
setConfigVars(Map<String,String> configVars) |
public App(String name) throws IOException
IOExceptionpublic void logInfo(String message)
public void logDebug(String message)
public void logWarn(String message)
protected void deploy(List<File> includedFiles, Map<String,String> configVars, String jdkVersion, URL jdkUrl, String stack, Map<String,String> processTypes) throws Exception
Exceptionpublic void deploy(List<File> includedFiles, Map<String,String> configVars, String jdkVersion, String stack, Map<String,String> processTypes) throws Exception
Exceptionpublic void deploy(List<File> includedFiles, Map<String,String> configVars, URL jdkUrl, String stack, Map<String,String> processTypes) throws Exception
Exceptionprotected void copy(File file, File copyTarget) throws IOException
IOExceptionprotected void setConfigVars(Map<String,String> configVars) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionprotected Slug deploySlug(String stack, Map<String,String> processTypes) throws IOException, Curl.CurlException, org.apache.commons.compress.archivers.ArchiveException, InterruptedException
IOExceptionCurl.CurlExceptionorg.apache.commons.compress.archivers.ArchiveExceptionInterruptedExceptionprotected String getJdkVersion()
protected Properties getHerokuProperties()
protected String getEncodedApiKey() throws IOException
IOExceptionprotected File getAppDir()
protected File getHerokuDir()
protected File getRootDir()
Copyright © 2014. All rights reserved.