Class ContainerPageObject

    • Constructor Detail

      • ContainerPageObject

        protected ContainerPageObject​(com.google.inject.Injector injector,
                                      URL url)
      • ContainerPageObject

        protected ContainerPageObject​(PageObject context,
                                      URL url)
    • Method Detail

      • getJsonApiUrl

        public URL getJsonApiUrl()
      • getJson

        public com.fasterxml.jackson.databind.JsonNode getJson()
        Makes the API call and obtains JSON representation.
      • getJson

        public com.fasterxml.jackson.databind.JsonNode getJson​(String queryString)
        Parameters:
        queryString - Additional query string to narrow down the data retrieval, like "tree=..." or "depth=..."
      • action

        public <T extends Action> T action​(Class<T> type)
        Create action of this page object. See Action, ActionPageObject
        Parameters:
        type - Action type to create.
      • getNavigationLinks

        public Map<String,​String> getNavigationLinks()
        Get a map with all links within the navigation area. The key contains the href attribute while the value contains the link text.
        Returns:
        A map with all links within the navigation area.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object