com.atlassian.jira.rest.client.api
Interface ComponentRestClient
public interface ComponentRestClient
The com.atlassian.jira.rest.client.api handling component resources
- Since:
- v2.0
getComponent
com.atlassian.util.concurrent.Promise<Component> getComponent(URI componentUri)
- Parameters:
componentUri - URI to selected component resource
- Returns:
- complete information about selected component
- Throws:
RestClientException - in case of problems (connectivity, malformed messages, etc.)
createComponent
com.atlassian.util.concurrent.Promise<Component> createComponent(String projectKey,
ComponentInput componentInput)
updateComponent
com.atlassian.util.concurrent.Promise<Component> updateComponent(URI componentUri,
ComponentInput componentInput)
removeComponent
com.atlassian.util.concurrent.Promise<Void> removeComponent(URI componentUri,
@Nullable
URI moveIssueToComponentUri)
getComponentRelatedIssuesCount
com.atlassian.util.concurrent.Promise<Integer> getComponentRelatedIssuesCount(URI componentUri)
Copyright © 2013 Atlassian. All Rights Reserved.