Class DataProductReleasesPager


  • public class DataProductReleasesPager
    extends java.lang.Object
    DataProductReleasesPager can be used to simplify the use of the "listDataProductReleases" method.
    • Constructor Detail

      • DataProductReleasesPager

        public DataProductReleasesPager​(Dph client,
                                        ListDataProductReleasesOptions options)
        Constructs a new DataProductReleasesPager instance with the specified client and options model instance.
        Parameters:
        client - the Dph instance to be used to invoke the "listDataProductReleases" method
        options - the ListDataProductReleasesOptions instance to be used to invoke the "listDataProductReleases" method
    • Method Detail

      • hasNext

        public boolean hasNext()
        Returns true if there are more results to be retrieved.
        Returns:
        boolean
      • getNext

        public java.util.List<DataProductVersionSummary> getNext()
        Returns the next page of results.
        Returns:
        a List<DataProductVersionSummary> that contains the next page of results
      • getAll

        public java.util.List<DataProductVersionSummary> getAll()
        Returns all results by invoking getNext() repeatedly until all pages of results have been retrieved.
        Returns:
        a List<DataProductVersionSummary> containing all results returned by the "listDataProductReleases" method