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 ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Descriptor<BuildSelector> Deprecated.here for backward compatibility. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.plugins.copyartifact.BuildSelector
getArtifacts, getBuild, getSourceDirectory, isBuildResultBetterOrEqualTo, isSelectableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
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:BuildSelectorFind a build to copy artifacts from.- Overrides:
getBuildin 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
-