public class AsynchronousComponentRestClient extends AbstractAsynchronousRestClient implements ComponentRestClient
AbstractAsynchronousRestClient.ResponseHandler<T>| Constructor and Description |
|---|
AsynchronousComponentRestClient(URI baseUri,
com.atlassian.httpclient.api.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Component> |
createComponent(String projectKey,
ComponentInput componentInput) |
com.atlassian.util.concurrent.Promise<Component> |
getComponent(URI componentUri) |
com.atlassian.util.concurrent.Promise<Integer> |
getComponentRelatedIssuesCount(URI componentUri) |
com.atlassian.util.concurrent.Promise<Void> |
removeComponent(URI componentUri,
URI moveIssueToComponentUri) |
com.atlassian.util.concurrent.Promise<Component> |
updateComponent(URI componentUri,
ComponentInput componentInput) |
call, callAndParse, callAndParse, client, delete, getAndParse, post, post, post, post, postAndParse, postAndParse, put, putAndParsepublic AsynchronousComponentRestClient(URI baseUri, com.atlassian.httpclient.api.HttpClient client)
public com.atlassian.util.concurrent.Promise<Component> getComponent(URI componentUri)
getComponent in interface ComponentRestClientpublic com.atlassian.util.concurrent.Promise<Component> createComponent(String projectKey, ComponentInput componentInput)
createComponent in interface ComponentRestClientpublic com.atlassian.util.concurrent.Promise<Component> updateComponent(URI componentUri, ComponentInput componentInput)
updateComponent in interface ComponentRestClientpublic com.atlassian.util.concurrent.Promise<Void> removeComponent(URI componentUri, @Nullable URI moveIssueToComponentUri)
removeComponent in interface ComponentRestClientpublic com.atlassian.util.concurrent.Promise<Integer> getComponentRelatedIssuesCount(URI componentUri)
getComponentRelatedIssuesCount in interface ComponentRestClientCopyright © 2016 Atlassian. All rights reserved.