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(java.net.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(java.lang.String projectKey,
ComponentInput componentInput)
updateComponent
com.atlassian.util.concurrent.Promise<Component> updateComponent(java.net.URI componentUri,
ComponentInput componentInput)
removeComponent
com.atlassian.util.concurrent.Promise<java.lang.Void> removeComponent(java.net.URI componentUri,
@Nullable
java.net.URI moveIssueToComponentUri)
getComponentRelatedIssuesCount
com.atlassian.util.concurrent.Promise<java.lang.Integer> getComponentRelatedIssuesCount(java.net.URI componentUri)
Copyright © 2015 Atlassian. All Rights Reserved.