protected static class FileMonitoringTask.FileMonitoringController extends Controller
| Constructor and Description |
|---|
FileMonitoringTask.FileMonitoringController(hudson.FilePath ws) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(hudson.FilePath workspace)
Cleans up after a task is done.
|
hudson.FilePath |
controlDir(hudson.FilePath ws)
Directory in which this controller can place files.
|
Integer |
exitStatus(hudson.FilePath workspace)
Checks whether the task has finished.
|
hudson.FilePath |
getLogFile(hudson.FilePath workspace)
File in which the stdout/stderr
|
hudson.FilePath |
getResultFile(hudson.FilePath workspace)
File in which the exit code of the process should be reported.
|
void |
stop(hudson.FilePath workspace)
Tries to stop any running task.
|
boolean |
writeLog(hudson.FilePath workspace,
OutputStream sink)
Obtains any new task log output.
|
public FileMonitoringTask.FileMonitoringController(hudson.FilePath ws)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic 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 useIOExceptionInterruptedExceptionpublic hudson.FilePath controlDir(hudson.FilePath ws)
public hudson.FilePath getResultFile(hudson.FilePath workspace)
public hudson.FilePath getLogFile(hudson.FilePath workspace)
Copyright © 2004-2014. All Rights Reserved.