hudson.plugins.promoted_builds_simple
Class PromotedBuildSelector

java.lang.Object
  extended by hudson.plugins.copyartifact.BuildSelector
      extended by hudson.plugins.promoted_builds_simple.PromotedBuildSelector
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.copyartifact.BuildSelector>

public class PromotedBuildSelector
extends hudson.plugins.copyartifact.BuildSelector

Build selector for Copy Artifacts plugin to copy from latest build of a particular promotion level (or higher).

Author:
Alan.Harder@sun.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static hudson.model.Descriptor<hudson.plugins.copyartifact.BuildSelector> DESCRIPTOR
           
 
Constructor Summary
PromotedBuildSelector(int level)
           
 
Method Summary
 boolean isSelectable(hudson.model.Run<?,?> run)
           
 
Methods inherited from class hudson.plugins.copyartifact.BuildSelector
getBuild, getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension
public static final hudson.model.Descriptor<hudson.plugins.copyartifact.BuildSelector> DESCRIPTOR
Constructor Detail

PromotedBuildSelector

@DataBoundConstructor
public PromotedBuildSelector(int level)
Method Detail

isSelectable

public boolean isSelectable(hudson.model.Run<?,?> run)
Overrides:
isSelectable in class hudson.plugins.copyartifact.BuildSelector


Copyright © 2010. All Rights Reserved.