|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.helpers.BuildProxy
public final class BuildProxy
Proxy for the key build information.
| Method Summary | |
|---|---|
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. |
java.util.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'. |
java.util.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean doPerform(Ghostwriter ghostwriter,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
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.
java.io.IOException - on IOException.
java.lang.InterruptedException - on InterruptedException.public void updateBuild(hudson.model.AbstractBuild<?,?> build)
build - The build to update.public java.util.List<AbstractBuildAction<hudson.model.AbstractBuild<?,?>>> getActions()
public hudson.FilePath getArtifactsDir()
public hudson.FilePath getBuildRootDir()
AbstractBuild on the master.
Files related to the AbstractBuild should be stored below this directory.
AbstractBuild on the master.public hudson.FilePath getExecutionRootDir()
public hudson.FilePath getProjectRootDir()
AbstractProject on the master.
Files related to the AbstractProject should be stored below this directory.
AbstractProject on the master.public hudson.model.Result getResult()
public void setResult(hudson.model.Result result)
result - Value to set for property 'result'.public java.util.Calendar getTimestamp()
public boolean isContinueBuild()
public void setContinueBuild(boolean continueBuild)
continueBuild - Value to set for property 'continueBuild'.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||