Class Folder

All Implemented Interfaces:
CapybaraPortingLayer, Container
Direct Known Subclasses:
GitLabOrganizationFolder, WorkflowMultiBranchJob

public class Folder extends TopLevelItem implements Container
A container that stores nested items like jobs. A folder may contain a hierarchy of folders.
  • Constructor Details

    • Folder

      public Folder(com.google.inject.Injector injector, URL url, String name)
    • Folder

      public Folder(PageObject context, URL url, String name)
  • Method Details

    • getJobs

      public JobsMixIn getJobs()
      Description copied from interface: Container
      Returns the jobs in this container.
      Specified by:
      getJobs in interface Container
      Returns:
      the jobs
    • getViews

      public ViewsMixIn getViews()
      Description copied from interface: Container
      Returns the views in this container.
      Specified by:
      getViews in interface Container
      Returns:
      the views
    • delete

      public void delete()
      Specified by:
      delete in class TopLevelItem
    • setEnvironmentalVariables

      public void setEnvironmentalVariables(Map<String,String> envVbles)
    • getViewsNames

      public List<String> getViewsNames()
    • getActiveViewName

      public String getActiveViewName()
    • selectView

      public <T extends View> T selectView(Class<T> type, String viewName)