Class SearchFlowsPage

java.lang.Object
io.superdurable.dex.SearchFlowsPage

public final class SearchFlowsPage extends Object
Contains one page of Flow search results and its continuation token.

Pass a nonempty continuation token to the next Client.searchFlows(String, int) call with the same query and page size. The returned Flow list is immutable.

  • Method Details

    • getFlows

      public List<SearchFlowEntry> getFlows()
      Returns the Flow entries in this page.
      Returns:
      an immutable list of search entries
    • getNextPageToken

      public String getNextPageToken()
      Returns the token for fetching the next page.
      Returns:
      the next-page token, or an empty string when no next page exists