Package hudson.plugins.s3
Class S3CopyArtifact
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- hudson.plugins.s3.S3CopyArtifact
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class S3CopyArtifact extends Builder implements SimpleBuildStep
This is a S3 variant of the CopyArtifact plugin: Build step to copy artifacts from another project.- Author:
- Alan Harder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
S3CopyArtifact.CopyArtifactRunListener
static class
S3CopyArtifact.DescriptorImpl
static class
S3CopyArtifact.ListenerImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description S3CopyArtifact(String projectName, hudson.plugins.copyartifact.BuildSelector buildSelector, String filter, String excludeFilter, String target, boolean flatten, boolean optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description hudson.plugins.copyartifact.BuildSelector
getBuildSelector()
String
getExcludeFilter()
String
getFilter()
String
getProjectName()
String
getTarget()
boolean
isFlatten()
boolean
isOptional()
void
perform(Run<?,?> dst, FilePath targetDir, Launcher launcher, TaskListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getProjectName
public String getProjectName()
-
getBuildSelector
public hudson.plugins.copyartifact.BuildSelector getBuildSelector()
-
getFilter
public String getFilter()
-
getExcludeFilter
public String getExcludeFilter()
-
getTarget
public String getTarget()
-
isFlatten
public boolean isFlatten()
-
isOptional
public boolean isOptional()
-
perform
public void perform(@Nonnull Run<?,?> dst, @Nonnull FilePath targetDir, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-