Package step.repositories.jira.api
Class JiraRestClientImpl
- java.lang.Object
-
- step.repositories.jira.zephyr.AbstractRestClient
-
- step.repositories.jira.api.JiraRestClientImpl
-
- All Implemented Interfaces:
Closeable,AutoCloseable,JiraRestClient
public class JiraRestClientImpl extends AbstractRestClient implements JiraRestClient
-
-
Field Summary
-
Fields inherited from class step.repositories.jira.zephyr.AbstractRestClient
client
-
-
Constructor Summary
Constructors Constructor Description JiraRestClientImpl(String baseUrl, String userEmail, String apiToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tcall(String method, String uri, Object requestEntity, Class<T> responseType)IssuegetIssue(Integer issueId)IssuegetIssue(String issueKey)ProjectgetProject(String projectKey)ProjectListgetProjects()ProjectVersionListgetProjectVersions(Integer projectId)-
Methods inherited from class step.repositories.jira.zephyr.AbstractRestClient
close, invoke, performCall, performCall
-
-
-
-
Method Detail
-
getIssue
public Issue getIssue(String issueKey)
- Specified by:
getIssuein interfaceJiraRestClient
-
getIssue
public Issue getIssue(Integer issueId)
- Specified by:
getIssuein interfaceJiraRestClient
-
getProjects
public ProjectList getProjects()
- Specified by:
getProjectsin interfaceJiraRestClient
-
getProject
public Project getProject(String projectKey)
- Specified by:
getProjectin interfaceJiraRestClient
-
getProjectVersions
public ProjectVersionList getProjectVersions(Integer projectId)
- Specified by:
getProjectVersionsin interfaceJiraRestClient
-
-