Class BrowserHistory


  • public class BrowserHistory
    extends Object
    A browser input contains an input element, previous and next input, if available The browser input also provides a human readable name of its input element
    • Constructor Detail

      • BrowserHistory

        public BrowserHistory​(BrowserHistory previous,
                              String url)
        Create a new Browser input
        Parameters:
        previous - the input previous to this or null if this is the first
        url - of current browser location, cannot be null
    • Method Detail

      • getPrevious

        public BrowserHistory getPrevious()
        The previous input or null if this is the first
        Returns:
        the previous input or null
      • getNext

        public BrowserHistory getNext()
        The next input or null if this is the last
        Returns:
        the next input or null if this is the last
      • getUrl

        public String getUrl()
        The current story point browser location
        Returns:
        the browser location, never null