Class JiraProjectRepository
java.lang.Object
de.qytera.qtaf.xray.repository.jira.JiraProjectRepository
- All Implemented Interfaces:
JiraEndpoint
A class for interacting with Jira projects, such as retrieving project administration data.
-
Method Summary
Modifier and TypeMethodDescriptionstatic JiraProjectRepositoryRetrieve aJiraProjectRepositoryinstance.<P extends ProjectDto<?,?, ?>>
PgetProject(String projectIdOrKey) Returns the project details for a project.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.qytera.qtaf.xray.repository.jira.JiraEndpoint
getJiraAuthorizationHeaderValue
-
Method Details
-
getInstance
Retrieve aJiraProjectRepositoryinstance.- Returns:
- an instance to work with
-
getProject
public <P extends ProjectDto<?,?, P getProject?>> (String projectIdOrKey) throws URISyntaxException, MissingConfigurationValueException Returns the project details for a project.- Type Parameters:
P- the project type- Parameters:
projectIdOrKey- the project ID or project key (case-sensitive)- Returns:
- the project details
- Throws:
URISyntaxException- if any URLs used project retrieval are invalidMissingConfigurationValueException- if the configuration is invalid
-