hudson.plugins.helpers
クラス BuildProxy

java.lang.Object
  上位を拡張 hudson.plugins.helpers.BuildProxy
すべての実装されたインタフェース:
Serializable

public final class BuildProxy
extends Object
implements Serializable

Proxy for the key build information.

導入されたバージョン:
12-Jan-2008 12:08:32
作成者:
Stephen Connolly
関連項目:
直列化された形式

メソッドの概要
static boolean doPerform(Ghostwriter ghostwriter, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          (Call from master) Invokes the ghostwriter on the master and slave nodes for this build.
static boolean doPerform(Ghostwriter ghostwriter, hudson.maven.MavenBuildProxy mavenBuildProxy, org.apache.maven.project.MavenProject pom, hudson.model.BuildListener listener)
          (Call from slave) Invokes the ghostwriter on the master and slave nodes for this build.
 List<AbstractBuildAction<hudson.model.AbstractBuild<?,?>>> getActions()
          Getter for property 'actions'.
 hudson.FilePath getArtifactsDir()
          Gets the directory (on the master) where the artifacts are archived.
 hudson.FilePath getBuildRootDir()
          Root directory of the AbstractBuild on the master.
 hudson.FilePath getExecutionRootDir()
          Returns the root directory of the checked-out module on the machine where the build executes.
 hudson.FilePath getProjectRootDir()
          Root directory of the AbstractProject on the master.
 hudson.model.Result getResult()
          Getter for property 'result'.
 Calendar getTimestamp()
          When the build is scheduled.
 boolean isContinueBuild()
          Getter for property 'continueBuild'.
 void setContinueBuild(boolean continueBuild)
          Setter for property 'continueBuild'.
 void setResult(hudson.model.Result result)
          Setter for property 'result'.
 void updateBuild(hudson.model.AbstractBuild<?,?> build)
          (Designed for execution from the master) Updates the build with the results that were reported to this proxy.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

doPerform

public static boolean doPerform(Ghostwriter ghostwriter,
                                hudson.model.AbstractBuild<?,?> build,
                                hudson.model.BuildListener listener)
                         throws IOException,
                                InterruptedException
(Call from master) Invokes the ghostwriter on the master and slave nodes for this build.

パラメータ:
ghostwriter - The ghostwriter that will be doing the work for the publisher.
build - The build.
listener - The build listener.
戻り値:
true if the build can continue.
例外:
IOException - on IOException.
InterruptedException - on InterruptedException.

updateBuild

public void updateBuild(hudson.model.AbstractBuild<?,?> build)
(Designed for execution from the master) Updates the build with the results that were reported to this proxy.

パラメータ:
build - The build to update.

doPerform

public static boolean doPerform(Ghostwriter ghostwriter,
                                hudson.maven.MavenBuildProxy mavenBuildProxy,
                                org.apache.maven.project.MavenProject pom,
                                hudson.model.BuildListener listener)
                         throws InterruptedException,
                                IOException
(Call from slave) Invokes the ghostwriter on the master and slave nodes for this build.

パラメータ:
ghostwriter - The ghostwriter that will be doing the work for the publisher.
mavenBuildProxy - The build (proxy).
pom - The maven pom.
listener - The build listener.
戻り値:
true if the build can continue.
例外:
IOException - on IOException.
InterruptedException - on InterruptedException.

getActions

public List<AbstractBuildAction<hudson.model.AbstractBuild<?,?>>> getActions()
Getter for property 'actions'.

戻り値:
Value for property 'actions'.

getArtifactsDir

public hudson.FilePath getArtifactsDir()
Gets the directory (on the master) where the artifacts are archived.

戻り値:
the directory (on the master) where the artifacts are archived.

getBuildRootDir

public hudson.FilePath getBuildRootDir()
Root directory of the AbstractBuild on the master.

Files related to the AbstractBuild should be stored below this directory.

戻り値:
Root directory of the AbstractBuild on the master.

getExecutionRootDir

public hudson.FilePath getExecutionRootDir()
Returns the root directory of the checked-out module on the machine where the build executes.

This is usually where pom.xml, build.xml and so on exists.

戻り値:
Returns the root directory of the checked-out module on the machine where the build executes.

getProjectRootDir

public hudson.FilePath getProjectRootDir()
Root directory of the AbstractProject on the master.

Files related to the AbstractProject should be stored below this directory.

戻り値:
Root directory of the AbstractProject on the master.

getResult

public hudson.model.Result getResult()
Getter for property 'result'.

戻り値:
Value for property 'result'.

setResult

public void setResult(hudson.model.Result result)
Setter for property 'result'.

パラメータ:
result - Value to set for property 'result'.

getTimestamp

public Calendar getTimestamp()
When the build is scheduled.

戻り値:
The time when the build started executing.

isContinueBuild

public boolean isContinueBuild()
Getter for property 'continueBuild'.

戻り値:
Value for property 'continueBuild'.

setContinueBuild

public void setContinueBuild(boolean continueBuild)
Setter for property 'continueBuild'.

パラメータ:
continueBuild - Value to set for property 'continueBuild'.


Copyright © 2004-2011. All Rights Reserved.