hudson.plugins.testng
Class GhostWriter
java.lang.Object
hudson.plugins.testng.GhostWriter
- All Implemented Interfaces:
- Ghostwriter, Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter, java.io.Serializable
public class GhostWriter
- extends java.lang.Object
- implements Ghostwriter, Ghostwriter.MasterGhostwriter, Ghostwriter.SlaveGhostwriter
- See Also:
- Serialized Form
|
Constructor Summary |
GhostWriter(java.lang.String reportFilenamePattern,
boolean isRelativePath)
|
|
Method Summary |
boolean |
performFromMaster(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath executionRoot,
hudson.model.BuildListener listener)
Runs (on the master) the step over the given build and reports the progress to the listener. |
boolean |
performFromSlave(BuildProxy build,
hudson.model.BuildListener listener)
Runs (on the slave) the step over the given build and reports the progress to the listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GhostWriter
public GhostWriter(java.lang.String reportFilenamePattern,
boolean isRelativePath)
performFromMaster
public boolean performFromMaster(hudson.model.AbstractBuild<?,?> build,
hudson.FilePath executionRoot,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Description copied from interface:
Ghostwriter.MasterGhostwriter
- Runs (on the master) the step over the given build and reports the progress to the listener.
- Specified by:
performFromMaster in interface Ghostwriter.MasterGhostwriter
- Parameters:
build - The the build.executionRoot - The module root on which the build executed.listener - The buildListener.
- Returns:
- true TODO: why ??
- Throws:
java.lang.InterruptedException
java.io.IOException
performFromSlave
public boolean performFromSlave(BuildProxy build,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
- Description copied from interface:
Ghostwriter.SlaveGhostwriter
- Runs (on the slave) the step over the given build and reports the progress to the listener.
- Specified by:
performFromSlave in interface Ghostwriter.SlaveGhostwriter
- Parameters:
build - The information about the build.listener - The buildListener.
- Returns:
- true , always even if we did not find any test result
- Throws:
java.lang.InterruptedException
java.io.IOException
Copyright © 2010. All Rights Reserved.