Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Class InterruptibleCommandExecutor.Default

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

public static final class InterruptibleCommandExecutor.Default
extends Object
implements InterruptibleCommandExecutor, Serializable

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

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.InterruptibleCommandExecutor
InterruptibleCommandExecutor.Default
 
Field Summary
static InterruptibleCommandExecutor INSTANCE
           
 
Method Summary
 void execute(InterruptibleCommand command)
          Execute the specified command.
static InterruptibleCommandExecutor 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 InterruptibleCommandExecutor INSTANCE
Method Detail

instance

public static InterruptibleCommandExecutor instance()

execute

public void execute(InterruptibleCommand command)
             throws InterruptedException
Description copied from interface: InterruptibleCommandExecutor
Execute the specified command.

Specified by:
execute in interface InterruptibleCommandExecutor
Throws:
InterruptedException

toString

public String toString()
Overrides:
toString in class Object

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.