hudson.plugins.promoted_builds.conditions
Class ManualCondition

java.lang.Object
  extended by hudson.plugins.promoted_builds.PromotionCondition
      extended by hudson.plugins.promoted_builds.conditions.ManualCondition
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<PromotionCondition>

public class ManualCondition
extends PromotionCondition

PromotionCondition that requires manual promotion.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class ManualCondition.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ManualCondition()
           
 
Method Summary
 PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
          Checks if the promotion criteria is met.
 
Methods inherited from class hudson.plugins.promoted_builds.PromotionCondition
all, getApplicableTriggers, getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManualCondition

public ManualCondition()
Method Detail

isMet

public PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
Description copied from class: PromotionCondition
Checks if the promotion criteria is met.

Specified by:
isMet in class PromotionCondition
Parameters:
build - The build for which the promotion is considered.
Returns:
non-null if the promotion condition is met. This object is then recorded so that we know how a build was promoted. Null if otherwise, meaning it shouldn't be promoted.


Copyright © 2010. All Rights Reserved.