protected static class FileMonitoringTask.FileMonitoringController extends Controller
| Modifier | Constructor and Description |
|---|---|
protected |
FileMonitoringTask.FileMonitoringController() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(hudson.FilePath workspace)
Cleans up after a task is done.
|
Integer |
exitStatus(hudson.FilePath workspace)
Checks whether the task has finished.
|
void |
stop(hudson.FilePath workspace)
Tries to stop any running task.
|
boolean |
writeLog(hudson.FilePath workspace,
OutputStream sink)
Obtains any new task log output.
|
protected FileMonitoringTask.FileMonitoringController()
public final boolean writeLog(hudson.FilePath workspace,
OutputStream sink)
throws IOException,
InterruptedException
ControllerwriteLog in class Controllerworkspace - the workspace in usesink - where to send new log outputIOExceptionInterruptedExceptionpublic final Integer exitStatus(hudson.FilePath workspace) throws IOException, InterruptedException
ControllerexitStatus in class Controllerworkspace - the workspace in useIOExceptionInterruptedExceptionpublic final void stop(hudson.FilePath workspace)
throws IOException,
InterruptedException
Controllerstop in class Controllerworkspace - the workspace in useIOExceptionInterruptedExceptionpublic void cleanup(hudson.FilePath workspace)
throws IOException,
InterruptedException
Controller#launch.cleanup in class Controllerworkspace - the workspace in useIOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.