org.eclipse.jpt.utility
Class CommandExecutor.Default

java.lang.Object
  extended by org.eclipse.jpt.utility.CommandExecutor.Default
All Implemented Interfaces:
CommandExecutor
Enclosing interface:
CommandExecutor

public static final class CommandExecutor.Default
extends java.lang.Object
implements CommandExecutor

Straightforward implementation of the command executor interface that simply executes the command without any sort of enhancement.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.utility.CommandExecutor
CommandExecutor.Default
 
Field Summary
static CommandExecutor INSTANCE
           
 
Method Summary
 void execute(Command command)
          Execute the specified command.
static CommandExecutor instance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final CommandExecutor INSTANCE
Method Detail

instance

public static CommandExecutor instance()

execute

public void execute(Command command)
Description copied from interface: CommandExecutor
Execute the specified command.

Specified by:
execute in interface CommandExecutor

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object