@Immutable public interface Issues
Modifier and Type | Interface and Description |
---|---|
static class |
Issues.Qualifier |
static class |
Issues.Sort |
Modifier and Type | Method and Description |
---|---|
Issue |
create(String title,
String body)
Create new issue.
|
Issue |
get(int number)
Get specific issue by number.
|
Iterable<Issue> |
iterate(Map<String,String> params)
Iterate them all.
|
Repo |
repo()
Owner of them.
|
Iterable<Issue> |
search(Issues.Sort sort,
Search.Order direction,
EnumMap<Issues.Qualifier,String> qualifiers)
Search for issues within the given repository.
|
Repo repo()
Issue get(int number)
number
- Issue numberIssue create(String title, String body) throws IOException
title
- Titlebody
- Body of itIOException
- If there is any I/O problemIterable<Issue> iterate(Map<String,String> params)
params
- Iterating parameters, as requested by APIIterable<Issue> search(Issues.Sort sort, Search.Order direction, EnumMap<Issues.Qualifier,String> qualifiers) throws IOException
sort
- The sort fielddirection
- The sort directionqualifiers
- The search qualifierIOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.