public class UpmClient extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UpmClient.UpmClientBuilder |
Constructor and Description |
---|
UpmClient(String baseUrl,
String authenticationInfo) |
Modifier and Type | Method and Description |
---|---|
static UpmClient.UpmClientBuilder |
builder() |
org.apache.http.client.HttpClient |
getHttpClient(Collection<org.apache.http.Header> defaultHeader) |
String |
getInstallationToken() |
JsonBaseResponseHandler<UPMInstallPluginRestResponse> |
getJsonBaseResponseHandler() |
void |
installLicense(SetupBundlePluginDescriptor bundledPlugin) |
InstallPluginResult |
installPlugin(String url) |
void |
setHttpClient(org.apache.http.client.HttpClient httpClient) |
void |
setJsonBaseResponseHandler(JsonBaseResponseHandler jsonBaseResponseHandler) |
public static UpmClient.UpmClientBuilder builder()
public void installLicense(SetupBundlePluginDescriptor bundledPlugin) throws IOException
IOException
public String getInstallationToken() throws IOException
IOException
public InstallPluginResult installPlugin(String url) throws IOException, InterruptedException
IOException
InterruptedException
public org.apache.http.client.HttpClient getHttpClient(Collection<org.apache.http.Header> defaultHeader)
public void setHttpClient(org.apache.http.client.HttpClient httpClient)
public JsonBaseResponseHandler<UPMInstallPluginRestResponse> getJsonBaseResponseHandler()
public void setJsonBaseResponseHandler(JsonBaseResponseHandler jsonBaseResponseHandler)
Copyright © 2003–2016 Atlassian. All rights reserved.