org.sadun.util
Class CommandRunner.Adapter

java.lang.Object
  extended byorg.sadun.util.CommandRunner.Adapter
All Implemented Interfaces:
CommandRunner.Listener
Enclosing class:
CommandRunner

public static class CommandRunner.Adapter
extends java.lang.Object
implements CommandRunner.Listener

An helper class which implements all the methods in the CommandRunner.Listenerinterface in an empty way.


Constructor Summary
CommandRunner.Adapter()
           
 
Method Summary
 void failed(java.lang.Exception e)
           
 void started()
           
 void starting()
           
 void terminated(int exitValue, long elapsed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandRunner.Adapter

public CommandRunner.Adapter()
Method Detail

starting

public void starting()
Specified by:
starting in interface CommandRunner.Listener

failed

public void failed(java.lang.Exception e)
Specified by:
failed in interface CommandRunner.Listener

started

public void started()
Specified by:
started in interface CommandRunner.Listener

terminated

public void terminated(int exitValue,
                       long elapsed)
Specified by:
terminated in interface CommandRunner.Listener