| 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 |
addStartupFiles() |
protected File |
buildSlugFile(String slugFilename) |
protected void |
copy(File file,
File copyTarget) |
protected Slug |
createAndReleaseSlug(String stack,
Map<String,String> processTypes,
String slugFilename) |
void |
createSlug(String slugFilename,
List<File> includedFiles,
String jdkVersion,
String stack) |
protected void |
createSlug(String slugFilename,
List<File> includedFiles,
String jdkVersion,
URL jdkUrl,
String stack) |
void |
createSlug(String slugFilename,
List<File> includedFiles,
URL jdkUrl,
String stack) |
void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
String jdkVersion,
String stack,
Map<String,String> processTypes,
String slugFileName) |
protected void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
String jdkVersion,
URL jdkUrl,
String stack,
Map<String,String> processTypes,
String slugFilename) |
void |
deploy(List<File> includedFiles,
Map<String,String> configVars,
URL jdkUrl,
String stack,
Map<String,String> processTypes,
String slugFileName) |
protected Slug |
deploySlug(String stack,
Map<String,String> processTypes,
File slugFile) |
void |
deploySlug(String slugFilename,
Map<String,String> processTypes,
Map<String,String> configVars,
String stack) |
protected File |
getAppDir() |
protected String |
getEncodedApiKey() |
protected File |
getHerokuDir() |
protected Properties |
getHerokuProperties() |
protected String |
getJdkVersion() |
String |
getName() |
protected Map<String,String> |
getProcfile() |
protected File |
getRootDir() |
void |
logDebug(String message) |
void |
logInfo(String message) |
void |
logWarn(String message) |
protected void |
mergeConfigVars(Map<String,String> configVars) |
protected void |
prepare(List<File> includedFiles) |
protected String |
relativize(File path) |
protected void |
releaseSlug(Slug slug) |
protected void |
uploadSlug(Slug slug,
File slugFile,
Set processTypes) |
public App(String name) throws IOException
IOExceptionpublic void logInfo(String message)
public void logDebug(String message)
public void logWarn(String message)
public String getName()
protected void deploy(List<File> includedFiles, Map<String,String> configVars, String jdkVersion, URL jdkUrl, String stack, Map<String,String> processTypes, String slugFilename) throws Exception
Exceptionpublic void deploy(List<File> includedFiles, Map<String,String> configVars, String jdkVersion, String stack, Map<String,String> processTypes, String slugFileName) throws Exception
Exceptionpublic void deploy(List<File> includedFiles, Map<String,String> configVars, URL jdkUrl, String stack, Map<String,String> processTypes, String slugFileName) throws Exception
Exceptionprotected void createSlug(String slugFilename, List<File> includedFiles, String jdkVersion, URL jdkUrl, String stack) throws Exception
Exceptionpublic void createSlug(String slugFilename, List<File> includedFiles, String jdkVersion, String stack) throws Exception
Exceptionpublic void createSlug(String slugFilename, List<File> includedFiles, URL jdkUrl, String stack) throws Exception
Exceptionpublic void deploySlug(String slugFilename, Map<String,String> processTypes, Map<String,String> configVars, String stack) throws Exception
Exceptionprotected void prepare(List<File> includedFiles) throws IOException
IOExceptionprotected void copy(File file, File copyTarget) throws IOException
IOExceptionprotected void mergeConfigVars(Map<String,String> configVars) throws Exception
Exceptionprotected File buildSlugFile(String slugFilename) throws InterruptedException, org.apache.commons.compress.archivers.ArchiveException, IOException
InterruptedExceptionorg.apache.commons.compress.archivers.ArchiveExceptionIOExceptionprotected Slug createAndReleaseSlug(String stack, Map<String,String> processTypes, String slugFilename) throws IOException, Curl.CurlException, org.apache.commons.compress.archivers.ArchiveException, InterruptedException
IOExceptionCurl.CurlExceptionorg.apache.commons.compress.archivers.ArchiveExceptionInterruptedExceptionprotected Slug deploySlug(String stack, Map<String,String> processTypes, File slugFile) throws IOException, org.apache.commons.compress.archivers.ArchiveException, InterruptedException, Curl.CurlException
IOExceptionorg.apache.commons.compress.archivers.ArchiveExceptionInterruptedExceptionCurl.CurlExceptionprotected void uploadSlug(Slug slug, File slugFile, Set processTypes) throws IOException, Curl.CurlException, org.apache.commons.compress.archivers.ArchiveException, InterruptedException
IOExceptionCurl.CurlExceptionorg.apache.commons.compress.archivers.ArchiveExceptionInterruptedExceptionprotected void releaseSlug(Slug slug) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionprotected String getJdkVersion()
protected Properties getHerokuProperties()
protected void addStartupFiles()
throws IOException
IOExceptionprotected String getEncodedApiKey() throws IOException
IOExceptionprotected File getAppDir()
protected File getHerokuDir()
protected File getRootDir()
Copyright © 2015. All rights reserved.