public class Slug extends Object
| Constructor and Description |
|---|
Slug(String buildPackDesc,
String appName,
String stack,
String encodedApiKey,
Map<String,String> processTypes) |
| Modifier and Type | Method and Description |
|---|---|
Map |
create() |
String |
getBlobUrl() |
String |
getSlugId() |
String |
getSlugRequest() |
String |
getStackName() |
Map |
release() |
void |
upload(File slugFile) |
public static final String BASE_URL
public Slug(String buildPackDesc, String appName, String stack, String encodedApiKey, Map<String,String> processTypes) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic String getBlobUrl()
public String getSlugId()
public String getStackName()
public String getSlugRequest()
public Map create() throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionpublic void upload(File slugFile) throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionpublic Map release() throws IOException, Curl.CurlException
IOExceptionCurl.CurlExceptionCopyright © 2015. All rights reserved.