Class ColumnsArea
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageAreaImpl
org.jenkinsci.test.acceptance.plugins.dashboard_view.controls.ColumnsArea
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
Provides the control area for setting the Columns to display in the default job list.
- Author:
- Peter Müller
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Provides a simple enumeration for all possible Columns.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
ConstructorDescriptionColumnsArea
(PageObject context, String path) Creates a new PageArea for the config list of columns that should be shown in the default job list. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ColumnsArea.Column column) Add a column item by name to the list.void
remove
(ColumnsArea.Column column) Remove the list item for a column from the list of displayed columns.void
Removes all Columns as present in the default configuration.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 Details
-
ColumnsArea
Creates a new PageArea for the config list of columns that should be shown in the default job list.
-
-
Method Details
-
remove
Remove the list item for a column from the list of displayed columns.- Parameters:
column
- column, the name of the column that will be removed.
-
removeAll
public void removeAll()Removes all Columns as present in the default configuration. -
add
Add a column item by name to the list.- Parameters:
column
- column, the column to add.
-