Class UnstableJobsPortlet

    • Constructor Detail

      • UnstableJobsPortlet

        public UnstableJobsPortlet​(DashboardView parent,
                                   String path)
        Constructs a new unstable jobs portlet.
        Parameters:
        parent - Dashboard view this portlet is scoped to.
        path - Absolute path to the area.
    • Method Detail

      • setShowOnlyFailedJobs

        public void setShowOnlyFailedJobs​(boolean showOnlyFailedJobs)
        Sets the "Recurse within folders"-parameter for this Portlet.
        Parameters:
        showOnlyFailedJobs - New value to set.
      • getTable

        public org.openqa.selenium.WebElement getTable()
                                                throws org.openqa.selenium.NoSuchElementException
        Gets the table of unstable jobs as WebElement.
        Returns:
        The table-WebElement containing the unstable jobs.
        Throws:
        org.openqa.selenium.NoSuchElementException - if the table is not found
      • hasJob

        public boolean hasJob​(String jobName)
        Returns true if this Portlet contains a job with the given name.
        Parameters:
        jobName - Name of the job to look for.
        Returns:
        True, if this Portlet contains a job with the given name.
      • openJob

        public void openJob​(String jobName)
        Opens the job with the given name, if it exists in the Portlet.
        Parameters:
        jobName - Name of the job to open.