Class IncrementalSyncPageResponse<T extends IncrementalSyncModel>
java.lang.Object
com.atlassian.confluence.internal.api.incrementalsync.model.IncrementalSyncPageResponse<T>
- All Implemented Interfaces:
PageResponse<T>,Iterable<T>
public class IncrementalSyncPageResponse<T extends IncrementalSyncModel>
extends Object
implements PageResponse<T>
Page response class for incremental sync models.
- Since:
- 9.4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IncrementalSyncModel>
IncrementalSyncPageResponse.Builder<T>builder()booleaninthashCode()booleanhasMore()Indicates whether the source has more results after this page.booleaniterator()intsize()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.atlassian.confluence.api.model.pagination.PageResponse
getPrevCursor, getTotalCount
-
Method Details
-
isIncrementalSynchronisationAvailable
public boolean isIncrementalSynchronisationAvailable() -
getResults
- Specified by:
getResultsin interfacePageResponse<T extends IncrementalSyncModel>- Returns:
- the results
-
size
public int size()- Specified by:
sizein interfacePageResponse<T extends IncrementalSyncModel>- Returns:
- the number of results in this page of results
-
hasMore
public boolean hasMore()Description copied from interface:PageResponseIndicates whether the source has more results after this page.- Specified by:
hasMorein interfacePageResponse<T extends IncrementalSyncModel>- Returns:
- true if there are more results
-
getPageRequest
- Specified by:
getPageRequestin interfacePageResponse<T extends IncrementalSyncModel>- Returns:
- the request used to produce this response
-
getNextCursor
- Specified by:
getNextCursorin interfacePageResponse<T extends IncrementalSyncModel>- Returns:
- the identifier which is used to skip results from a previous query when paginating in forward direction.
-
iterator
- Specified by:
iteratorin interfaceIterable<T extends IncrementalSyncModel>
-
equals
-
hashCode
public int hashCode() -
builder
-