Class JobFiltersArea
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.plugins.dashboard_view.controls.JobFiltersArea
-
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
public class JobFiltersArea extends PageAreaImpl
Provides a small area of the Dashboard Configuration that can limit the Jenkins Jobs displayed in the Dashboard.- Author:
- Peter Müller
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobFiltersArea.StatusFilter
Provides a collection of all possible filter types.-
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
-
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
-
Constructor Summary
Constructors Constructor Description JobFiltersArea(PageObject context, String path)
Create a new Area for the configuration regarding the job filters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setIncludeRegex(String regex)
Set a regex to include jobs only if they match the expressionvoid
setRecurseInSubfolders(boolean state)
Change the state of the checkbox for the option of recursion in subfolders.void
setStatusFilter(JobFiltersArea.StatusFilter statusFilter)
Select the filter type in the dropdown.-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, path, self
-
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, executeScript, fillIn, find, findIfNotVisible, getElement, getPageSource, last, lastIfNotVisible, runThenConfirmAlert, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
-
-
-
Constructor Detail
-
JobFiltersArea
public JobFiltersArea(PageObject context, String path)
Create a new Area for the configuration regarding the job filters.
-
-
Method Detail
-
setStatusFilter
public void setStatusFilter(JobFiltersArea.StatusFilter statusFilter)
Select the filter type in the dropdown.- Parameters:
statusFilter
- the filter type to use
-
setRecurseInSubfolders
public void setRecurseInSubfolders(boolean state)
Change the state of the checkbox for the option of recursion in subfolders.- Parameters:
state
- true if enabled
-
setIncludeRegex
public void setIncludeRegex(String regex)
Set a regex to include jobs only if they match the expression- Parameters:
regex
- regex the regex to filter the job names
-
-