Class Automations

java.lang.Object
com.genologics.ri.automation.Automations
All Implemented Interfaces:
Batch<AutomationLink>, PaginatedBatch<AutomationLink>, Serializable, Iterable<AutomationLink>

public class Automations extends Object implements PaginatedBatch<AutomationLink>, Serializable
A list of automation links returned from a query.

This class supports pagination through previous-page and next-page links.

Since:
2.26
See Also:
  • Field Details

    • automations

      protected List<AutomationLink> automations
      The list of automation links.
    • previousPage

      protected Page previousPage
      The link to the previous page of results.
    • nextPage

      protected Page nextPage
      The link to the next page of results.
    • uri

      protected URI uri
      The URI of this automations resource.
  • Constructor Details

    • Automations

      public Automations()
      Default constructor.
  • Method Details

    • getList

      public List<AutomationLink> getList()
      Gets the list of automation links.
      Specified by:
      getList in interface Batch<AutomationLink>
      Returns:
      The list of automation links.
    • getSize

      public int getSize()
      Gets the size of the automation list.
      Specified by:
      getSize in interface Batch<AutomationLink>
      Returns:
      The number of automations.
    • getAutomations

      public List<AutomationLink> getAutomations()
      Gets the list of automations.
      Returns:
      The list of automation links.
    • getPreviousPage

      public Page getPreviousPage()
      Gets the previous page of results.
      Specified by:
      getPreviousPage in interface PaginatedBatch<AutomationLink>
      Returns:
      The previous page, or null if there is no previous page.
    • setPreviousPage

      public void setPreviousPage(Page value)
      Sets the previous page of results.
      Specified by:
      setPreviousPage in interface PaginatedBatch<AutomationLink>
      Parameters:
      value - The previous page.
    • getNextPage

      public Page getNextPage()
      Gets the next page of results.
      Specified by:
      getNextPage in interface PaginatedBatch<AutomationLink>
      Returns:
      The next page, or null if there is no next page.
    • setNextPage

      public void setNextPage(Page value)
      Sets the next page of results.
      Specified by:
      setNextPage in interface PaginatedBatch<AutomationLink>
      Parameters:
      value - The next page.
    • getUri

      public URI getUri()
      Gets the URI of this automations resource.
      Returns:
      The URI.
    • setUri

      public void setUri(URI value)
      Sets the URI of this automations resource.
      Parameters:
      value - The URI.