public class Builds extends ApiEndpoint
| Modifier and Type | Field and Description |
|---|---|
static String |
EXEC_BUILDPACK_URL |
static String |
JVM_BUILDPACK_URL |
static String |
METRICS_BUILDPACK_URL |
| Constructor and Description |
|---|
Builds(String appName,
String client,
String commit,
String apiKey,
List<String> buildpacks) |
| Modifier and Type | Method and Description |
|---|---|
Map |
build(RestClient.OutputLogger logger) |
com.heroku.api.Source |
createSource() |
String |
getBlobUrl() |
Map |
getBuildInfo(String buildId) |
Map |
pollForBuildInfo(String buildId) |
void |
upload(File slugFile,
Logger listener) |
public static final String JVM_BUILDPACK_URL
public static final String METRICS_BUILDPACK_URL
public static final String EXEC_BUILDPACK_URL
public Builds(String appName, String client, String commit, String apiKey, List<String> buildpacks) throws IOException
IOExceptionpublic void upload(File slugFile, Logger listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getBlobUrl()
public com.heroku.api.Source createSource()
throws IOException
IOExceptionpublic Map build(RestClient.OutputLogger logger) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic Map pollForBuildInfo(String buildId) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic Map getBuildInfo(String buildId) throws IOException
IOExceptionCopyright © 2019. All rights reserved.