org.eclipse.jpt.common.utility.command
Class InterruptibleCommandExecutor.Default
java.lang.Object
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
INSTANCE
public static final InterruptibleCommandExecutor INSTANCE
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
Copyright (c) 2012 Oracle. All rights reserved.