@Test public void shouldNotAcceptNegativeOffset() { mExpectedException.expect(IllegalArgumentException.class); mExpectedException.expectMessage("Offset should be positive"); RepositorySearchCriteria.builder().withOffset(-1).build(); }
@NotNull public static Builder builder() { return new Builder(); }
RepositorySearchCriteria { @NotNull public static Builder builder() { return new Builder(); } }
RepositorySearchCriteria { @NotNull public static Builder builder() { return new Builder(); } private  RepositorySearchCriteria(Builder builder); }
RepositorySearchCriteria { @NotNull public static Builder builder() { return new Builder(); } private  RepositorySearchCriteria(Builder builder); @NotNull static Builder builder(); @NotNull static RepositorySearchCriteria empty(); int getLimit(); int getOffset(); @Nullable String getQuery(); @Nullable Boolean getRecursive(); @Nullable SortType getSortBy(); int getResourceMask(); @Nullable String getFolderUri(); AccessType getAccessType(); }
RepositorySearchCriteria { @NotNull public static Builder builder() { return new Builder(); } private  RepositorySearchCriteria(Builder builder); @NotNull static Builder builder(); @NotNull static RepositorySearchCriteria empty(); int getLimit(); int getOffset(); @Nullable String getQuery(); @Nullable Boolean getRecursive(); @Nullable SortType getSortBy(); int getResourceMask(); @Nullable String getFolderUri(); AccessType getAccessType(); static final int DEFAULT_OFFSET; static final int DEFAULT_LIMIT; static int ALL; static int REPORT; static int DASHBOARD; static int LEGACY_DASHBOARD; static int FOLDER; static int REPORT_OPTION; static int FILE; }