Package org.jenkinsci.test.acceptance.po
Class ListView
- All Implemented Interfaces:
CapybaraPortingLayer
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
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.View
description, includeRegex, jobs
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
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
-
Method Summary
Modifier and TypeMethodDescription<T extends ListViewColumn>
TAdds a column on the dashboard.void
Explicitly add a job to the view.static <T extends ListViewColumn>
TcreateWithColumn
(Container owner, Class<T> columnClass) Creates a new list view with the specified column.<T extends ListViewColumn>
Tvoid
scheduleJob
(String name) void
scheduleJob
(String name, Map<String, Object> params) Methods inherited from class org.jenkinsci.test.acceptance.po.View
build, checkRecurseIntoFolders, containsColumnHeader, containsColumnHeaderTooltip, containsImage, containsJob, containsLinkWithTooltip, containsSvgWithText, delete, getBuildHistory, getFormName, getSubmitButtonText, hasDescription, matchAllJobs, matchJobs, save, setDescription
Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, equals, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks, hashCode
Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, toString, url, url, visit
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
-
Constructor Details
-
ListView
-
-
Method Details
-
createWithColumn
Creates a new list view with the specified column.- Type Parameters:
T
- the type of the column- Parameters:
owner
- owner of the list view (jenkins, folder, etc.)columnClass
- the class of the column to add- Returns:
- the created column
-
addColumn
Adds a column on the dashboard.- Type Parameters:
T
- The type of the new dashboard column.- Parameters:
type
- The class object of the type of the new dashboard column.- Returns:
- The new dashboard column.
-
getColumn
- Returns:
- the column to the corresponding type
-
addJob
Explicitly add a job to the view. -
scheduleJob
-
scheduleJob
-