Package org.vx68k.bitbucket.api
Interface BitbucketIssueTracker
-
- All Known Implementing Classes:
BitbucketClientRepository
public interface BitbucketIssueTracker
Issue tracker interface for a Bitbucket Cloud repository.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketIssue
getIssue(int id)
Returns the issue specified by an identifier.BitbucketRepository
getRepository()
Returns the repository of the issue tracker.Collection<BitbucketIssue>
issues()
Returns a collection view of the issues.Collection<BitbucketIssue>
issues(String filter)
Returns a collection view of the issues that match a filter expression.
-
-
-
Method Detail
-
getRepository
BitbucketRepository getRepository()
Returns the repository of the issue tracker.- Returns:
- the repository of the issue tracker
-
getIssue
BitbucketIssue getIssue(int id)
Returns the issue specified by an identifier.- Parameters:
id
- identifier of the issue- Returns:
- issue if found,
null
otherwise
-
issues
Collection<BitbucketIssue> issues()
Returns a collection view of the issues. The order of the returned issues are unspecified.- Returns:
- a
Collection
view of the issues
-
issues
Collection<BitbucketIssue> issues(String filter)
Returns a collection view of the issues that match a filter expression. The order of the returned issues are unspecified.- Parameters:
filter
- a filter expression- Returns:
- a
Collection
view of the issues
-
-