hudson.plugins.promoted_builds_simple
Class PromotedBuildSelector

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.plugins.copyartifact.BuildSelector>
      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

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
 int getLevel()
           
 boolean isSelectable(hudson.model.Run<?,?> run, hudson.EnvVars env)
           
 
Methods inherited from class hudson.plugins.copyartifact.BuildSelector
getBuild, getBuild
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

@Extension(optional=true)
public static final hudson.model.Descriptor<hudson.plugins.copyartifact.BuildSelector> DESCRIPTOR
Constructor Detail

PromotedBuildSelector

@DataBoundConstructor
public PromotedBuildSelector(int level)
Method Detail

getLevel

public int getLevel()

isSelectable

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


Copyright © 2004-2011. All Rights Reserved.