|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objecthudson.plugins.promoted_builds.Status
public final class Status
Promotion status of a build wrt a specific PromotionProcess.
PromotedBuildAction.statuses| フィールドの概要 | |
|---|---|
java.lang.String |
name
Matches with AbstractItem.name. |
java.util.Calendar |
timestamp
When did the build qualify for a promotion? |
| コンストラクタの概要 | |
|---|---|
Status(PromotionProcess process,
java.util.Collection<? extends PromotionBadge> badges)
|
|
| メソッドの概要 | |
|---|---|
void |
doBuild(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Schedules a new build. |
java.util.List<PromotionBadge> |
getBadges()
Gets the badges indicating how did a build qualify for a promotion. |
java.lang.String |
getDelayString(hudson.model.AbstractBuild<?,?> owner)
Gets the string that says how long did it toook for this build to be promoted. |
Promotion |
getLastFailed()
Gets the last successful Promotion. |
Promotion |
getLastSuccessful()
Gets the last successful Promotion. |
java.lang.String |
getName()
|
PromotedBuildAction |
getParent()
Gets the parent Status that owns this object. |
PromotionProcess |
getProcess()
Gets the PromotionProcess that this object deals with. |
Promotion |
getPromotionBuild(int number)
Gets the promotion build by build number. |
java.util.List<Promotion> |
getPromotionBuilds()
Gets all the promotion builds. |
Promotion |
getSuccessfulPromotion(JobPropertyImpl jp)
Returns the Promotion object that represents the successful promotion. |
hudson.model.AbstractBuild<?,?> |
getTarget()
Gets the build that was qualified for a promotion. |
java.lang.String |
getTimestampString()
Gets the string that says how long since this promotion had happened. |
boolean |
isFor(PromotionProcess process)
|
boolean |
isInQueue()
Returns true if the promotion for this is pending in the queue, waiting to be executed. |
boolean |
isPromotionAttempted()
Returns true if at least one Promotion activity is attempted. |
boolean |
isPromotionSuccessful()
Returns true if the promotion was successfully completed. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public final java.lang.String name
AbstractItem.name.
public final java.util.Calendar timestamp
| コンストラクタの詳細 |
|---|
public Status(PromotionProcess process,
java.util.Collection<? extends PromotionBadge> badges)
| メソッドの詳細 |
|---|
public java.lang.String getName()
public PromotedBuildAction getParent()
Status that owns this object.
public PromotionProcess getProcess()
PromotionProcess that this object deals with.
public hudson.model.AbstractBuild<?,?> getTarget()
public java.lang.String getTimestampString()
public java.lang.String getDelayString(hudson.model.AbstractBuild<?,?> owner)
public boolean isFor(PromotionProcess process)
public Promotion getSuccessfulPromotion(JobPropertyImpl jp)
Promotion object that represents the successful promotion.
public boolean isPromotionSuccessful()
public boolean isPromotionAttempted()
Promotion activity is attempted.
False if none is executed yet (this includes the case where it's in the queue.)
public boolean isInQueue()
public java.util.List<PromotionBadge> getBadges()
public Promotion getLastSuccessful()
Promotion.
public Promotion getLastFailed()
Promotion.
public java.util.List<Promotion> getPromotionBuilds()
public Promotion getPromotionBuild(int number)
number - build number
public void doBuild(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||