Package step.repositories.jira.api
Class JiraRestClientImpl
- java.lang.Object
-
- step.repositories.jira.zephyr.AbstractRestClient
-
- step.repositories.jira.api.JiraRestClientImpl
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.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(java.lang.String baseUrl, java.lang.String userEmail, java.lang.String apiToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
call(java.lang.String method, java.lang.String uri, java.lang.Object requestEntity, java.lang.Class<T> responseType)
Issue
getIssue(java.lang.Integer issueId)
Issue
getIssue(java.lang.String issueKey)
Project
getProject(java.lang.String projectKey)
ProjectList
getProjects()
ProjectVersionList
getProjectVersions(java.lang.Integer projectId)
-
Methods inherited from class step.repositories.jira.zephyr.AbstractRestClient
close, invoke, performCall, performCall
-
-
-
-
Method Detail
-
call
public <T> T call(java.lang.String method, java.lang.String uri, java.lang.Object requestEntity, java.lang.Class<T> responseType)
-
getIssue
public Issue getIssue(java.lang.String issueKey)
- Specified by:
getIssue
in interfaceJiraRestClient
-
getIssue
public Issue getIssue(java.lang.Integer issueId)
- Specified by:
getIssue
in interfaceJiraRestClient
-
getProjects
public ProjectList getProjects()
- Specified by:
getProjects
in interfaceJiraRestClient
-
getProject
public Project getProject(java.lang.String projectKey)
- Specified by:
getProject
in interfaceJiraRestClient
-
getProjectVersions
public ProjectVersionList getProjectVersions(java.lang.Integer projectId)
- Specified by:
getProjectVersions
in interfaceJiraRestClient
-
-