public interface ComponentRestClient
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Component> |
createComponent(java.lang.String projectKey,
ComponentInput componentInput) |
com.atlassian.util.concurrent.Promise<Component> |
getComponent(java.net.URI componentUri) |
com.atlassian.util.concurrent.Promise<java.lang.Integer> |
getComponentRelatedIssuesCount(java.net.URI componentUri) |
com.atlassian.util.concurrent.Promise<java.lang.Void> |
removeComponent(java.net.URI componentUri,
java.net.URI moveIssueToComponentUri) |
com.atlassian.util.concurrent.Promise<Component> |
updateComponent(java.net.URI componentUri,
ComponentInput componentInput) |
com.atlassian.util.concurrent.Promise<Component> getComponent(java.net.URI componentUri)
componentUri - URI to selected component resourceRestClientException - in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<Component> createComponent(java.lang.String projectKey, ComponentInput componentInput)
com.atlassian.util.concurrent.Promise<Component> updateComponent(java.net.URI componentUri, ComponentInput componentInput)
com.atlassian.util.concurrent.Promise<java.lang.Void> removeComponent(java.net.URI componentUri,
@Nullable
java.net.URI moveIssueToComponentUri)
com.atlassian.util.concurrent.Promise<java.lang.Integer> getComponentRelatedIssuesCount(java.net.URI componentUri)
Copyright © 2013 Atlassian. All Rights Reserved.