Package org.jenkinsci.test.acceptance.po
Class Node
- All Implemented Interfaces:
CapybaraPortingLayer
Common base for Jenkins and Slave.
- Author:
- ogondza
-
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.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 TypeMethodDescriptionabstract String
getName()
boolean
Run groovy string in groovy console.Run groovy string in groovy console.void
setExecutors
(int n) void
void
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, getFormName, getSubmitButtonText, save
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
-
Node
-
Node
-
-
Method Details
-
getName
-
setExecutors
public void setExecutors(int n) -
setRemoteFs
-
setLabels
-
runScript
Run groovy string in groovy console. Defaults to a 30 second timeout.- Parameters:
script
- Script text to run.args
- Arguments to String#format in the script.- Returns:
- String output of the script or null if there is none.
-
runScript
Run groovy string in groovy console.- Parameters:
script
- Script text to run.args
- Arguments to String#format in the script.timeoutSeconds
- Script execution timeout in seconds- Returns:
- String output of the script or null if there is none.
- Since:
- TODO
-
getBuildHistory
-
isTemporarillyOffline
public boolean isTemporarillyOffline()
-