public class SlugDeployer extends Deployer
Deployer.CopyFileVisitorbuildPackDesc, encodedApiKey, logger, name, rootDir, targetDir| Constructor and Description |
|---|
SlugDeployer(String buildPackDesc,
String name,
File rootDir,
File targetDir,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtras(Map<String,String> processTypes) |
protected void |
addJdkOverlay() |
protected void |
addStartupFiles() |
protected File |
buildSlugFile(String slugFilename) |
protected void |
createSlug(String slugFilename,
String jdkVersion,
URL jdkUrl,
String stack) |
protected void |
deploySlug(String stack,
Map<String,String> processTypes,
File slugFile) |
void |
releaseSlug(String slugFilename,
Map<String,String> processTypes,
Map<String,String> configVars,
String stack) |
protected void |
vendorJdk(String jdkVersion,
URL jdkUrl,
String stackName) |
copy, copyResourceFile, createAndReleaseSlug, deploy, getAppDir, getBuildPackDesc, getEncodedApiKey, getHerokuDir, getHerokuProperties, getJdkVersion, getName, getProcfile, getRootDir, getTargetDir, logDebug, logInfo, logWarn, mergeConfigVars, parseCommit, prepare, relativize, releaseSlug, setEncodedApiKey, uploadSlugprotected void createSlug(String slugFilename, String jdkVersion, URL jdkUrl, String stack) throws Exception
Exceptionpublic void releaseSlug(String slugFilename, Map<String,String> processTypes, Map<String,String> configVars, String stack) throws Exception
Exceptionprotected File buildSlugFile(String slugFilename) throws InterruptedException, org.apache.commons.compress.archivers.ArchiveException, IOException
buildSlugFile in class DeployerInterruptedExceptionorg.apache.commons.compress.archivers.ArchiveExceptionIOExceptionprotected void deploySlug(String stack, Map<String,String> processTypes, File slugFile) throws IOException, org.apache.commons.compress.archivers.ArchiveException, InterruptedException
deploySlug in class DeployerIOExceptionorg.apache.commons.compress.archivers.ArchiveExceptionInterruptedExceptionprotected void addExtras(Map<String,String> processTypes) throws IOException
addExtras in class DeployerIOExceptionprotected void vendorJdk(String jdkVersion, URL jdkUrl, String stackName) throws IOException, InterruptedException, org.apache.commons.compress.archivers.ArchiveException
vendorJdk in class DeployerIOExceptionInterruptedExceptionorg.apache.commons.compress.archivers.ArchiveExceptionprotected void addStartupFiles()
throws IOException
IOExceptionprotected void addJdkOverlay()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.