Class StashPageEntity<T>
java.lang.Object
com.atlassian.bamboo.plugins.stash.rest.entity.StashPageEntity<T>
-
Constructor Summary
ConstructorDescriptionStashPageEntity
(int size, int limit, boolean lastPage, int start, @Nullable Integer nextPageStart, Iterable<T> values) -
Method Summary
Modifier and TypeMethodDescriptionstatic final <F,
T> Function<com.atlassian.stash.rest.client.api.entity.Page<F>, StashPageEntity<T>> fromPageWithTransform
(Function<F, T> transform) int
getLimit()
@Nullable Integer
int
getSize()
int
getStart()
boolean
void
static <T> StashPageEntity<T>
singlePage
(List<T> values)
-
Constructor Details
-
StashPageEntity
-
-
Method Details
-
fromPageWithTransform
public static final <F,T> Function<com.atlassian.stash.rest.client.api.entity.Page<F>,StashPageEntity<T>> fromPageWithTransform(Function<F, T> transform) -
singlePage
-
getSize
public int getSize() -
getLimit
public int getLimit() -
isLastPage
public boolean isLastPage() -
getValues
-
setValues
-
getStart
public int getStart() -
getNextPageStart
-