Package hudson.plugins.copyartifact
Class ParameterizedBuildSelector
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildSelector>
hudson.plugins.copyartifact.BuildSelector
hudson.plugins.copyartifact.ParameterizedBuildSelector
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildSelector>
Use a parameter to specify how the build is selected.
- Author:
- Alan Harder
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic Descriptor<BuildSelector>
Deprecated.here for backward compatibility. -
Constructor Summary
-
Method Summary
Methods inherited from class hudson.plugins.copyartifact.BuildSelector
getArtifacts, getBuild, getSourceDirectory, isBuildResultBetterOrEqualTo, isSelectable
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
DESCRIPTOR
Deprecated.here for backward compatibility. Get it fromJenkins.getDescriptor(Class)
-
-
Constructor Details
-
ParameterizedBuildSelector
-
-
Method Details
-
getParameterName
-
getBuild
Description copied from class:BuildSelector
Find a build to copy artifacts from.- Overrides:
getBuild
in classBuildSelector
- Parameters:
job
- Source projectenv
- Environment for build that is copying artifactsfilter
- Additional filter; returned result should return true (return null otherwise)parent
- Build to which artifacts are being copied- Returns:
- Build to use, or null if no appropriate build was found
-