Package com.codebarrel.jira.status
Interface StatusClient
- All Known Implementing Classes:
NativeStatusClient
public interface StatusClient
-
Method Summary
Modifier and TypeMethodDescriptiongetStatusById(Long statusId) Returns the status which matches the given IDReturns a set of all valid statuses across the whole instancegetStatuses(String projectKeyOrId) Returns a set of all valid statuses in the given project across all issue types.
-
Method Details
-
getStatuses
Returns a set of all valid statuses in the given project across all issue types.- Parameters:
projectKeyOrId- the project to retrieve statuses for- Returns:
- a set of all valid statuses in the given project across all issue types.
-
getStatuses
Set<StatusBean> getStatuses()Returns a set of all valid statuses across the whole instance- Returns:
- a set of all valid statuses across the whole instance
-
getStatusById
Returns the status which matches the given ID- Parameters:
statusId- id of the status to fetch- Returns:
- a Optional depending on whether a matching status can be found
-