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> T
call(String method, String uri, Object requestEntity, Class<T> responseType)
Issue
getIssue(Integer issueId)
Issue
getIssue(String issueKey)
Project
getProject(String projectKey)
ProjectList
getProjects()
ProjectVersionList
getProjectVersions(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:
getIssue
in interfaceJiraRestClient
-
getIssue
public Issue getIssue(Integer issueId)
- Specified by:
getIssue
in interfaceJiraRestClient
-
getProjects
public ProjectList getProjects()
- Specified by:
getProjects
in interfaceJiraRestClient
-
getProject
public Project getProject(String projectKey)
- Specified by:
getProject
in interfaceJiraRestClient
-
getProjectVersions
public ProjectVersionList getProjectVersions(Integer projectId)
- Specified by:
getProjectVersions
in interfaceJiraRestClient
-
-