Package com.jcabi.github
Interface Issues
@Immutable
public interface Issues
GitHub issues.
- Since:
- 0.1
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionCreate new issue.get(int number) Get specific issue by number.Iterate them all.repo()Owner of them.search(Issues.Sort sort, Search.Order direction, EnumMap<Issues.Qualifier, String> qualifiers) Search for issues within the given repository.
-
Method Details
-
repo
Repo repo()Owner of them.- Returns:
- Repo
-
get
Get specific issue by number.- Parameters:
number- Issue number- Returns:
- Issue
- See Also:
-
create
Create new issue.- Parameters:
title- Titlebody- Body of it- Returns:
- Issue just created
- Throws:
IOException- If there is any I/O problem- See Also:
-
iterate
Iterate them all.- Parameters:
params- Iterating parameters, as requested by API- Returns:
- Iterator of issues
- See Also:
-
search
Iterable<Issue> search(Issues.Sort sort, Search.Order direction, EnumMap<Issues.Qualifier, String> qualifiers) Search for issues within the given repository.- Parameters:
sort- The sort fielddirection- The sort directionqualifiers- The search qualifier- Returns:
- Issues
- Since:
- 0.22.0
- See Also:
-