public class Slug extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Slug.MissingProcessTypesException |
| Constructor and Description |
|---|
Slug(String buildPackDesc,
String appName,
String stack,
String commit,
String encodedApiKey,
Map<String,String> processTypes) |
| Modifier and Type | Method and Description |
|---|---|
Map |
create() |
String |
getBlobUrl() |
String |
getCommit() |
String |
getSlugId() |
String |
getSlugRequest() |
String |
getStackName() |
Map |
release() |
void |
upload(File slugFile,
UploadListener listener) |
public static final String BASE_URL
public Slug(String buildPackDesc, String appName, String stack, String commit, String encodedApiKey, Map<String,String> processTypes) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String getBlobUrl()
public String getSlugId()
public String getStackName()
public String getSlugRequest()
public String getCommit()
public Map create() throws IOException
IOExceptionpublic void upload(File slugFile, UploadListener listener) throws IOException
IOExceptionpublic Map release() throws IOException
IOExceptionCopyright © 2015. All rights reserved.