Package org.jenkinsci.test.acceptance.po
Class FreeStyleMultiBranchJob
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageObject
-
- org.jenkinsci.test.acceptance.po.ConfigurablePageObject
-
- org.jenkinsci.test.acceptance.po.ContainerPageObject
-
- org.jenkinsci.test.acceptance.po.TopLevelItem
-
- org.jenkinsci.test.acceptance.po.Job
-
- org.jenkinsci.test.acceptance.po.FreeStyleMultiBranchJob
-
- All Implemented Interfaces:
CapybaraPortingLayer
public class FreeStyleMultiBranchJob extends Job
A freestyle multi-branch job (requires installation of multi-branch-project-plugin).- Author:
- Ullrich Hafner
-
-
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.Job
concurrentBuild, controller, publishers
-
Fields inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
name
-
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
Constructors Constructor Description FreeStyleMultiBranchJob(com.google.inject.Injector injector, URL url, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends BuildStep>
TaddBuildStep(Class<T> type)
<T extends PostBuildStep>
TaddPublisher(Class<T> type)
Adds the specified publisher to this job.-
Methods inherited from class org.jenkinsci.test.acceptance.po.Job
addBatchStep, addBuildWrapper, addParameter, addPreBuildStep, addPublisher, addShellStep, addShellStep, addTrigger, build, copyDir, copyFile, copyResource, copyResource, copyResource, copyResourceBatch, copyResourceShell, delete, disable, disabled, editPublisher, getBuildUrl, getLastBuild, getNextBuildNumber, getParameters, getPublisher, getWorkspace, pollScm, removeFirstBuildStep, scheduleBuild, scheduleBuild, setLabelExpression, shouldBeTiedToLabel, shouldHaveBuiltOnOneOfNNodes, startBuild, startBuild, useCustomWorkspace, useScm
-
Methods inherited from class org.jenkinsci.test.acceptance.po.TopLevelItem
as, description, equals, getDescription, getDisplayName, hashCode, renameTo, setDescription, setDescription, toString
-
Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, getConfigUrl, getJson, getJson, getJsonApiUrl, getNavigationLinks
-
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, 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
-
-
-
-
Method Detail
-
addBuildStep
public <T extends BuildStep> T addBuildStep(Class<T> type)
- Overrides:
addBuildStep
in classJob
-
addPublisher
public <T extends PostBuildStep> T addPublisher(Class<T> type)
Description copied from class:Job
Adds the specified publisher to this job. Publishers are stored in a list member to provide later access for modification.- Overrides:
addPublisher
in classJob
- Type Parameters:
T
- the type of the publisher- Parameters:
type
- the publisher to configure- See Also:
Job.getPublisher(Class)
,Job.editPublisher(Class, Consumer)
-
-