Class EventResult


  • public class EventResult
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EventResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Event> getData()
      Gets the list of events
      java.lang.Boolean getMoreAvailable()
      Returns if more events are available for retrieval
      java.lang.String getNextStreamPosition()
      Gets a string indicating the streamPosition of the next set of events
      void setData​(java.util.List<Event> data)
      Sets the list of events
      void setMoreAvailable​(java.lang.Boolean moreAvailable)
      Sets the flag indicating if more events are available
      void setNextStreamPosition​(java.lang.String nextStreamPosition)
      Sets a string indicating the streamPosition for the next set of events
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventResult

        public EventResult()
    • Method Detail

      • getData

        public java.util.List<Event> getData()
        Gets the list of events
        Returns:
        the list of events
      • setData

        public void setData​(java.util.List<Event> data)
        Sets the list of events
        Parameters:
        data - the list of events
      • getMoreAvailable

        public java.lang.Boolean getMoreAvailable()
        Returns if more events are available for retrieval
        Returns:
        true if more events are available, false otherwise
      • setMoreAvailable

        public void setMoreAvailable​(java.lang.Boolean moreAvailable)
        Sets the flag indicating if more events are available
        Parameters:
        moreAvailable - the flag
      • getNextStreamPosition

        public java.lang.String getNextStreamPosition()
        Gets a string indicating the streamPosition of the next set of events
        Returns:
        the string streamPosition
      • setNextStreamPosition

        public void setNextStreamPosition​(java.lang.String nextStreamPosition)
        Sets a string indicating the streamPosition for the next set of events
        Parameters:
        nextStreamPosition - the string for the next set of events