public abstract class Controller extends Object implements Serializable
| Constructor and Description |
|---|
Controller() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
cleanup(hudson.FilePath workspace)
Cleans up after a task is done.
|
abstract Integer |
exitStatus(hudson.FilePath workspace)
Checks whether the task has finished.
|
abstract void |
stop(hudson.FilePath workspace)
Tries to stop any running task.
|
abstract boolean |
writeLog(hudson.FilePath workspace,
OutputStream sink)
Obtains any new task log output.
|
public abstract boolean writeLog(hudson.FilePath workspace,
OutputStream sink)
throws IOException,
InterruptedException
workspace - the workspace in usesink - where to send new log outputIOExceptionInterruptedException@CheckForNull public abstract Integer exitStatus(hudson.FilePath workspace) throws IOException, InterruptedException
workspace - the workspace in useIOExceptionInterruptedExceptionpublic abstract void stop(hudson.FilePath workspace)
throws IOException,
InterruptedException
workspace - the workspace in useIOExceptionInterruptedExceptionpublic abstract void cleanup(hudson.FilePath workspace)
throws IOException,
InterruptedException
#launch.workspace - the workspace in useIOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.