hudson.plugins.promoted_builds
クラス PromotionCondition

java.lang.Object
  上位を拡張 hudson.plugins.promoted_builds.PromotionCondition
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<PromotionCondition>
直系の既知のサブクラス:
DownstreamPassCondition, ManualCondition

public abstract class PromotionCondition
extends java.lang.Object
implements hudson.ExtensionPoint, hudson.model.Describable<PromotionCondition>

Extension point for defining a promotion criteria.

作成者:
Kohsuke Kawaguchi

入れ子のクラスの概要
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
PromotionCondition()
           
 
メソッドの概要
static hudson.DescriptorExtensionList<PromotionCondition,PromotionConditionDescriptor> all()
          Returns all the registered PromotionConditionDescriptors.
static java.util.List<PromotionConditionDescriptor> getApplicableTriggers(hudson.model.AbstractProject<?,?> p)
          Returns a subset of PromotionConditionDescriptors that applys to the given project.
 PromotionConditionDescriptor getDescriptor()
           
abstract  PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
          Checks if the promotion criteria is met.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PromotionCondition

public PromotionCondition()
メソッドの詳細

isMet

public abstract PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
Checks if the promotion criteria is met.

パラメータ:
build - The build for which the promotion is considered.
戻り値:
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.

getDescriptor

public PromotionConditionDescriptor getDescriptor()
定義:
インタフェース hudson.model.Describable<PromotionCondition> 内の getDescriptor

all

public static hudson.DescriptorExtensionList<PromotionCondition,PromotionConditionDescriptor> all()
Returns all the registered PromotionConditionDescriptors.


getApplicableTriggers

public static java.util.List<PromotionConditionDescriptor> getApplicableTriggers(hudson.model.AbstractProject<?,?> p)
Returns a subset of PromotionConditionDescriptors that applys to the given project.



Copyright © 2011. All Rights Reserved.