public interface ComponentRestClient
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) |
com.atlassian.util.concurrent.Promise<Component> getComponent(URI componentUri)
componentUri
- URI to selected component resourceRestClientException
- in case of problems (connectivity, malformed messages, etc.)com.atlassian.util.concurrent.Promise<Component> createComponent(String projectKey, ComponentInput componentInput)
com.atlassian.util.concurrent.Promise<Component> updateComponent(URI componentUri, ComponentInput componentInput)
com.atlassian.util.concurrent.Promise<Void> removeComponent(URI componentUri, @Nullable URI moveIssueToComponentUri)
Copyright © 2013 Atlassian. All Rights Reserved.