hudson.plugins.promoted_builds.conditions
クラス DownstreamPassCondition

java.lang.Object
  上位を拡張 hudson.plugins.promoted_builds.PromotionCondition
      上位を拡張 hudson.plugins.promoted_builds.conditions.DownstreamPassCondition
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<PromotionCondition>

public class DownstreamPassCondition
extends PromotionCondition

PromotionCondition that tests if certain downstream projects have passed.

作成者:
Kohsuke Kawaguchi

入れ子のクラスの概要
static class DownstreamPassCondition.Badge
           
static class DownstreamPassCondition.DescriptorImpl
           
static class DownstreamPassCondition.PseudoDownstreamBuilds
          Remembers those downstream jobs that are not related by fingerprint but by the triggering relationship.
static class DownstreamPassCondition.RunListenerImpl
          RunListener to pick up completions of downstream builds.
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
DownstreamPassCondition(java.lang.String jobs)
           
DownstreamPassCondition(java.lang.String jobs, boolean evenIfUnstable)
           
 
メソッドの概要
 boolean contains(hudson.model.AbstractProject<?,?> job)
          Short-cut for getJobList().contains(job).
 java.util.List<hudson.model.AbstractProject<?,?>> getJobList()
          List of downstream jobs that we need to monitor.
 java.lang.String getJobs()
           
 boolean isEvenIfUnstable()
           
 PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
          Checks if the promotion criteria is met.
 
クラス hudson.plugins.promoted_builds.PromotionCondition から継承されたメソッド
all, getApplicableTriggers, getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DownstreamPassCondition

public DownstreamPassCondition(java.lang.String jobs)

DownstreamPassCondition

public DownstreamPassCondition(java.lang.String jobs,
                               boolean evenIfUnstable)
メソッドの詳細

getJobs

public java.lang.String getJobs()

isEvenIfUnstable

public boolean isEvenIfUnstable()

isMet

public PromotionBadge isMet(hudson.model.AbstractBuild<?,?> build)
クラス PromotionCondition の記述:
Checks if the promotion criteria is met.

定義:
クラス PromotionCondition 内の isMet
パラメータ:
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.

getJobList

public java.util.List<hudson.model.AbstractProject<?,?>> getJobList()
List of downstream jobs that we need to monitor.

戻り値:
never null.

contains

public boolean contains(hudson.model.AbstractProject<?,?> job)
Short-cut for getJobList().contains(job).



Copyright © 2011. All Rights Reserved.