com.atlassian.fisheye.plugins.scm.utils.process
Class BaseProcessHandler

java.lang.Object
  extended by com.atlassian.fisheye.plugins.scm.utils.process.BaseProcessHandler
All Implemented Interfaces:
ProcessHandler
Direct Known Subclasses:
PluggableProcessHandler

public abstract class BaseProcessHandler
extends java.lang.Object
implements ProcessHandler


Constructor Summary
BaseProcessHandler()
           
 
Method Summary
 Watchdog getWatchdog()
           
 void setWatchdog(Watchdog watchdog)
          Set the watchdog associated with this handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.fisheye.plugins.scm.utils.process.ProcessHandler
complete, getException, getExitCode, hasInput, isComplete, processError, processOutput, provideInput, reset, succeeded
 

Constructor Detail

BaseProcessHandler

public BaseProcessHandler()
Method Detail

setWatchdog

public void setWatchdog(Watchdog watchdog)
Description copied from interface: ProcessHandler
Set the watchdog associated with this handler. The watchdog should be called at regular intervals to prevent the external process being terminated. Typically this is done in the IO handling methods

Specified by:
setWatchdog in interface ProcessHandler

getWatchdog

public Watchdog getWatchdog()