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()
boolean
int
hashCode()
boolean
hasMore()
Indicates whether the source has more results after this page.boolean
iterator()
int
size()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.atlassian.confluence.api.model.pagination.PageResponse
getPrevCursor, getTotalCount
-
Method Details
-
isIncrementalSynchronisationAvailable
public boolean isIncrementalSynchronisationAvailable() -
getResults
- Specified by:
getResults
in interfacePageResponse<T extends IncrementalSyncModel>
- Returns:
- the results
-
size
public int size()- Specified by:
size
in interfacePageResponse<T extends IncrementalSyncModel>
- Returns:
- the number of results in this page of results
-
hasMore
public boolean hasMore()Description copied from interface:PageResponse
Indicates whether the source has more results after this page.- Specified by:
hasMore
in interfacePageResponse<T extends IncrementalSyncModel>
- Returns:
- true if there are more results
-
getPageRequest
- Specified by:
getPageRequest
in interfacePageResponse<T extends IncrementalSyncModel>
- Returns:
- the request used to produce this response
-
getNextCursor
- Specified by:
getNextCursor
in 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:
iterator
in interfaceIterable<T extends IncrementalSyncModel>
-
equals
-
hashCode
public int hashCode() -
builder
-