Class ViewsMixIn

All Implemented Interfaces:

public class ViewsMixIn extends MixIn
Mix-in for PageObjects that own a group of views, like Jenkins.
Kohsuke Kawaguchi
  • Constructor Details

  • Method Details

    • create

      public <T extends View> T create(Class<T> type)
    • create

      public <T extends View> T create(Class<T> type, String name)
    • get

      public <T extends View> T get(Class<T> type, String name)
      Returns the page object of a view.
      Type Parameters:
      T - The type of the view.
      type - The class object of the type of the view..
      name - The name of the view.
      page object of a view to the corresponding type and name.