hudson.plugins.promoted_builds
Class PromotionBadge

java.lang.Object
  extended by hudson.plugins.promoted_builds.PromotionBadge
Direct Known Subclasses:
DownstreamPassCondition.Badge, ManualCondition.Badge, ManualPromotionBadge, UpstreamPromotionCondition.Badge

public abstract class PromotionBadge
extends java.lang.Object

Captures the information about how/when the promotion criteria is satisfied.

This information is used by humans to make sense out of what happened.

Author:
Kohsuke Kawaguchi

Constructor Summary
PromotionBadge()
           
 
Method Summary
 void buildEnvVars(hudson.model.AbstractBuild<?,?> build, hudson.EnvVars env)
          Called by Status to allow promotion badges to contribute environment variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotionBadge

public PromotionBadge()
Method Detail

buildEnvVars

public void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
                         hudson.EnvVars env)
Called by Status to allow promotion badges to contribute environment variables.

Parameters:
build - The calling build. Never null.
env - Environment variables should be added to this map.


Copyright © 2004-2011. All Rights Reserved.