net.sf.zekr.common.commandline
Class WorkspaceCommandHandler

java.lang.Object
  extended by net.sf.zekr.common.commandline.CommandHandler
      extended by net.sf.zekr.common.commandline.WorkspaceCommandHandler
All Implemented Interfaces:
Command

public class WorkspaceCommandHandler
extends CommandHandler


Field Summary
 
Fields inherited from class net.sf.zekr.common.commandline.CommandHandler
command, options, stderr, stdout
 
Constructor Summary
WorkspaceCommandHandler(java.lang.String command, java.lang.String[] options)
           
 
Method Summary
 void execute()
          Execute the command
 boolean launchAfter()
          Specifies whether application should be launched after performing the command or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceCommandHandler

public WorkspaceCommandHandler(java.lang.String command,
                               java.lang.String[] options)
Method Detail

execute

public void execute()
             throws CommandException
Description copied from interface: Command
Execute the command

Specified by:
execute in interface Command
Specified by:
execute in class CommandHandler
Throws:
CommandException

launchAfter

public boolean launchAfter()
Description copied from interface: Command
Specifies whether application should be launched after performing the command or not.

Specified by:
launchAfter in interface Command
Overrides:
launchAfter in class CommandHandler
Returns:
true if application should be launched after performing this command; false otherwise.