Class CopyArtifactBuildStep
- java.lang.Object
-
- org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
-
- org.jenkinsci.test.acceptance.po.PageAreaImpl
-
- org.jenkinsci.test.acceptance.po.AbstractStep
-
- org.jenkinsci.test.acceptance.plugins.copyartifact.CopyArtifactBuildStep
-
- All Implemented Interfaces:
BuildStep
,CapybaraPortingLayer
,Control.Owner
,PageArea
,Step
public class CopyArtifactBuildStep extends AbstractStep implements BuildStep
Convenience methods for testing the Copy Artifacts plugin.- Author:
- Tomas Westling
-
-
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.AbstractStep
parent
-
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 CopyArtifactBuildStep(Job parent, String path)
Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyArtifactBuildStep
excludes(String value)
Fill in the excludes text box.CopyArtifactBuildStep
flatten(boolean flatten)
Check or uncheck the flatten directories button.CopyArtifactBuildStep
includes(String value)
Fill in the includes text box.CopyArtifactBuildStep
parameterFilters(String value)
Fill in the parameters text box.CopyArtifactBuildStep
projectName(String value)
Fill in the projectName text box.CopyArtifactBuildStep
targetDir(String value)
Fill in the target text box.-
Methods inherited from class org.jenkinsci.test.acceptance.po.PageAreaImpl
control, control, createPageArea, getPage, getPath, getPath, getPath, path, 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
-
-
-
-
Method Detail
-
projectName
public CopyArtifactBuildStep projectName(String value)
Fill in the projectName text box.- Parameters:
value
- a string for the text box.- Returns:
- this.
-
includes
public CopyArtifactBuildStep includes(String value)
Fill in the includes text box.- Parameters:
value
- a string for the text box.- Returns:
- this.
-
excludes
public CopyArtifactBuildStep excludes(String value)
Fill in the excludes text box.- Parameters:
value
- a string for the text box.- Returns:
- this.
-
targetDir
public CopyArtifactBuildStep targetDir(String value)
Fill in the target text box.- Parameters:
value
- a string for the text box.- Returns:
- this.
-
parameterFilters
public CopyArtifactBuildStep parameterFilters(String value)
Fill in the parameters text box.- Parameters:
value
- a string for the text box.- Returns:
- this.
-
flatten
public CopyArtifactBuildStep flatten(boolean flatten)
Check or uncheck the flatten directories button.- Parameters:
flatten
- check or uncheck.- Returns:
- this.
-
-