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
| インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
メソッドの概要 |
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. |
| クラス 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.