Class ContainerPageObject

All Implemented Interfaces:
Direct Known Subclasses:
Build, CoberturaAction, GlobalSecurityConfig, GlobalToolConfig, JacocoResultPage, ManagedCredentials, ManagedCredentialsBinding, MixIn, Node, Plugin, PluginManager, TopLevelItem, UpdateCenter, User, View

public abstract class ContainerPageObject extends ConfigurablePageObject
PageObject that represents a model that has multiple views underneath.
Kohsuke Kawaguchi
  • Constructor Details

    • ContainerPageObject

      protected ContainerPageObject( injector, URL url)
    • ContainerPageObject

      protected ContainerPageObject(PageObject context, URL url)
  • Method Details

    • getConfigUrl

      public URL getConfigUrl()
      Specified by:
      getConfigUrl in class ConfigurablePageObject
    • 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)
      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
      type - Action type to create.
    • action

      public <T extends Action> T action(Class<T> type, String path)
    • 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.
      A map with all links within the navigation area.
    • equals

      public boolean equals(Object other)
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object