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
Nested ClassesModifier and TypeClassDescriptionstatic enumProvides 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, timeFields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by -
Constructor Summary
ConstructorsConstructorDescriptionColumnsArea(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 TypeMethodDescriptionvoidadd(ColumnsArea.Column column) Add a column item by name to the list.voidremove(ColumnsArea.Column column) Remove the list item for a column from the list of displayed columns.voidRemoves 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, selfMethods 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, runThenHandleInputDialog, runThenHandleUserPrompt, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCondMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.
-