Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Class CommandExecutor.Inactive

java.lang.Object
  extended by org.eclipse.jpt.common.utility.command.CommandExecutor.Inactive
All Implemented Interfaces:
Serializable, CommandExecutor
Enclosing interface:
CommandExecutor

public static final class CommandExecutor.Inactive
extends Object
implements CommandExecutor, Serializable

Singleton implementation of the command executor interface that ignores any commands.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.CommandExecutor
CommandExecutor.Default, CommandExecutor.Inactive
 
Field Summary
static CommandExecutor INSTANCE
           
 
Method Summary
 void execute(Command command)
          Execute the specified command, synchronously or asynchronously.
static CommandExecutor instance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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, 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

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.