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
public class ColumnsArea extends PageAreaImpl
Provides the control area for setting the Columns to display in the default job list.- Author:
- Peter Müller
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColumnsArea.Column
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
Constructors Constructor Description ColumnsArea(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
removeAll()
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 Detail
-
ColumnsArea
public ColumnsArea(PageObject context, String path)
Creates a new PageArea for the config list of columns that should be shown in the default job list.
-
-
Method Detail
-
remove
public void remove(ColumnsArea.Column column)
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
public void add(ColumnsArea.Column column)
Add a column item by name to the list.- Parameters:
column
- column, the column to add.
-
-