Class BatchesListResponse


  • public class BatchesListResponse
    extends ListResponse<Batch<?>>
    Lists batches response
    Since:
    1.0
    • Method Detail

      • hasNextPage

        public boolean hasNextPage()
        Description copied from class: ListResponse
        Indicate if another page response is available
        Specified by:
        hasNextPage in class ListResponse<Batch<?>>
        Returns:
        Returns true if the iteration has more pages. (In other words, returns true if next() would return a page rather than throwing an exception.)
      • nextPage

        public BatchesListResponse nextPage()
        Description copied from class: ListResponse
        Get next page response if available
        Specified by:
        nextPage in class ListResponse<Batch<?>>
        Returns:
        Returns the next page in the pagination/iteration. Next page response. Exception is throw in case no page available; call hasNextPage before to ensure is page is available