org.pdfsam.console.business.pdf
Class CmdExecuteManager

java.lang.Object
  extended by java.util.Observable
      extended by org.pdfsam.console.business.pdf.CmdExecuteManager
All Implemented Interfaces:
java.util.Observer

public class CmdExecuteManager
extends java.util.Observable
implements java.util.Observer

Manager for the commands execution

Author:
Andrea Vacondio

Constructor Summary
CmdExecuteManager()
           
 
Method Summary
 void execute(AbstractParsedCommand parsedCommand)
          Executes the input parsed command
 void update(java.util.Observable arg0, java.lang.Object arg1)
          forward the WorkDoneDataModel to the observers
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmdExecuteManager

public CmdExecuteManager()
Method Detail

execute

public void execute(AbstractParsedCommand parsedCommand)
             throws ConsoleException
Executes the input parsed command

Parameters:
parsedCommand -
Throws:
ConsoleException

update

public void update(java.util.Observable arg0,
                   java.lang.Object arg1)
forward the WorkDoneDataModel to the observers

Specified by:
update in interface java.util.Observer