public class StashPageEntity<T> extends Object
Constructor and Description |
---|
StashPageEntity(int size,
int limit,
boolean lastPage,
int start,
Integer nextPageStart,
Iterable<T> values) |
Modifier and Type | Method and Description |
---|---|
static <F,T> com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.Page<F>,StashPageEntity<T>> |
fromPageWithTransform(com.google.common.base.Function<F,T> transform) |
int |
getLimit() |
Integer |
getNextPageStart() |
int |
getSize() |
int |
getStart() |
Iterable<T> |
getValues() |
boolean |
isLastPage() |
void |
setValues(Iterable<T> values) |
static <T> StashPageEntity<T> |
singlePage(Iterable<T> values) |
public static final <F,T> com.google.common.base.Function<com.atlassian.stash.rest.client.api.entity.Page<F>,StashPageEntity<T>> fromPageWithTransform(com.google.common.base.Function<F,T> transform)
public static <T> StashPageEntity<T> singlePage(Iterable<T> values)
public int getSize()
public int getLimit()
public boolean isLastPage()
public int getStart()
@Nullable public Integer getNextPageStart()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.