Package org.jenkinsci.test.acceptance.po
Class ToolInstallation
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageAreaImpl
org.jenkinsci.test.acceptance.po.ToolInstallation
- All Implemented Interfaces:
CapybaraPortingLayer,Control.Owner,PageArea
- Direct Known Subclasses:
AntInstallation,GradleInstallation,GroovyInstallation,JdkInstallation,JGitInstallation,MavenInstallation,MSBuildInstallation
- Author:
- ogondza
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver -
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ToolInstallation>
Tstatic <T extends ToolInstallation>
Tstatic ConfigurablePageObjectensureConfigPage(Jenkins jenkins) protected StringgetPage()protected static ConfigurablePageObjectgetPageObject(Jenkins jenkins) installedIn(String home) static <T extends ToolInstallation>
voidinstallTool(Jenkins jenkins, Class<T> type, String name, String version) static <T extends ToolInstallation>
voidinstallTool(Jenkins jenkins, Class<T> type, String name, String version, String pathPrefix, Runnable action) installVersion(String version) static voidwaitForUpdates(Jenkins jenkins, Class<? extends ToolInstallation> type) Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, 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
-
Field Details
-
name
-
-
Constructor Details
-
ToolInstallation
-
-
Method Details
-
waitForUpdates
-
addTool
public static <T extends ToolInstallation> T addTool(Jenkins jenkins, Class<T> type, String pathPrefix, Runnable action) -
addTool
-
installTool
public static <T extends ToolInstallation> void installTool(Jenkins jenkins, Class<T> type, String name, String version) -
installTool
-
ensureConfigPage
-
getPageObject
-
getPage
- Specified by:
getPagein interfacePageArea- Overrides:
getPagein classPageAreaImpl
-
installVersion
-
installedIn
-
fakeHome
-