|
def | __init__ (self, job, name, timeoutCount=None) |
|
def | prepare (self) |
|
def | cleanup (self, failed) |
|
def | check (self) |
|
def | trigger (self) |
|
def | __init__ (self, job, name) |
|
def | setCommandline (self, cmd, args) |
|
def | setTool (self, tool) |
|
def | setCmdline (self, cmdline) |
|
def | checkPreconditions (self, immediate=False) |
|
def | run (self, callback) |
|
def | processStdout (self, data) |
|
def | processStderr (self, data) |
|
def | processOutput (self, data) |
|
def | processOutputLine (self, line) |
|
def | processFinished (self, returncode) |
|
def | abort (self) |
|
def | finish (self, aborted=False) |
|
def | afterRun (self) |
|
def | writeInput (self, input) |
|
def | getProgress (self) |
|
def | setProgress (self, progress) |
|
def | __str__ (self) |
|
Reactor-driven pthread_condition.
Wait for something to happen. Call trigger when something occurs that
is likely to make check() return true. Raise exception in check() to
signal error.
Default is to call trigger() once per second, override prepare/cleanup
to do something else (like waiting for hotplug)...