org.eclipse.jpt.common.utility.command
Class CommandExecutor.Default
java.lang.Object
org.eclipse.jpt.common.utility.command.CommandExecutor.Default
- All Implemented Interfaces:
- Serializable, CommandExecutor
- Enclosing interface:
- CommandExecutor
public static final class CommandExecutor.Default
- extends Object
- implements CommandExecutor, Serializable
Singleton implementation of the command executor interface
that simply executes the command without any sort of enhancement.
- See Also:
- Serialized Form
INSTANCE
public static final CommandExecutor INSTANCE
instance
public static CommandExecutor instance()
execute
public void execute(Command command)
- Description copied from interface:
CommandExecutor
- Execute the specified command, synchronously or asynchronously.
The commands themselves must be executed in the order in which
they are passed to the command executor (at least when passed
from clients executing on the same thread).
- Specified by:
execute in interface CommandExecutor
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.