Package org.jenkinsci.test.acceptance.po
Class Parameter
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.po.Parameter
-
- All Implemented Interfaces:
CapybaraPortingLayer
,Control.Owner
,PageArea
- Direct Known Subclasses:
LabelParameter
,NodeParameter
,PasswordParameter
,StringParameter
,TextParameter
public abstract class Parameter extends PageAreaImpl
Parameter for builds.Use
Describable
annotation to register an implementation.- 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 Modifier and Type Field Description Job
job
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
fillWith(Object v)
Given an subtype-specific value object that represents the actual argument, fill in the parameterized build form.String
getName()
org.openqa.selenium.By
path(String rel)
Depending on whether we are on the config page or in the build page, this is different.Parameter
setDefault(String value)
Parameter
setDescription(String v)
Parameter
setName(String name)
-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, 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
-
-
-
-
Field Detail
-
job
public final Job job
-
-
Method Detail
-
getName
public String getName()
-
fillWith
public abstract void fillWith(Object v)
Given an subtype-specific value object that represents the actual argument, fill in the parameterized build form.
-
path
public org.openqa.selenium.By path(String rel)
Depending on whether we are on the config page or in the build page, this is different.- Specified by:
path
in interfaceControl.Owner
- Specified by:
path
in interfacePageArea
- Overrides:
path
in classPageAreaImpl
-
-