@Immutable public interface Search
Modifier and Type | Interface and Description |
---|---|
static class |
Search.Order |
static class |
Search.Qualifier |
Modifier and Type | Method and Description |
---|---|
Iterable<Content> |
codes(String keywords,
String sort,
Search.Order order)
Search code.
|
Github |
github()
Github we're in.
|
Iterable<Issue> |
issues(String keywords,
String sort,
Search.Order order,
EnumMap<Search.Qualifier,String> qualifiers)
Search issues.
|
Iterable<Repo> |
repos(String keywords,
String sort,
Search.Order order)
Search repositories.
|
Iterable<User> |
users(String keywords,
String sort,
Search.Order order)
Search users.
|
@NotNull(message="Iterable of repos is never NULL") Iterable<Repo> repos(@NotNull(message="Search keywords can\'t be NULL") String keywords, @NotNull(message="Sort field can\'t be NULL") String sort, @NotNull(message="Sort order can\'t be NULL") Search.Order order) throws IOException
keywords
- The search keywordssort
- The sort fieldorder
- The sort orderIOException
- If there is any I/O problem@NotNull(message="Iterable of issues is never NULL") Iterable<Issue> issues(@NotNull(message="Search keywords can\'t be NULL") String keywords, @NotNull(message="Sort field can\'t be NULL") String sort, @NotNull(message="Sort order can\'t be NULL") Search.Order order, @NotNull(message="Search qualifiers can\'t be NULL") EnumMap<Search.Qualifier,String> qualifiers) throws IOException
keywords
- The search keywordssort
- The sort fieldorder
- The sort orderqualifiers
- The search qualifierIOException
- If there is any I/O problem@NotNull(message="Iterable of users is never NULL") Iterable<User> users(@NotNull(message="Search keywords can\'t be NULL") String keywords, @NotNull(message="Sort field can\'t be NULL") String sort, @NotNull(message="Sort order can\'t be NULL") Search.Order order) throws IOException
keywords
- The search keywordssort
- The sort fieldorder
- The sort orderIOException
- If there is any I/O problem@NotNull(message="Iterable of users is never NULL") Iterable<Content> codes(@NotNull(message="Search keywords can\'t be NULL") String keywords, @NotNull(message="Sort field can\'t be NULL") String sort, @NotNull(message="Sort order can\'t be NULL") Search.Order order) throws IOException
keywords
- The search keywordssort
- The sort fieldorder
- The sort orderIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.