org.eclipse.jpt.common.utility.command
Class InterruptibleCommand.Interrupted
java.lang.Object
org.eclipse.jpt.common.utility.command.InterruptibleCommand.Interrupted
- All Implemented Interfaces:
- Serializable, InterruptibleCommand
- Enclosing interface:
- InterruptibleCommand
public static final class InterruptibleCommand.Interrupted
- extends Object
- implements InterruptibleCommand, Serializable
Singleton implementation of the interruptible command interface that
will throw an interrupted exception when executed.
- See Also:
- Serialized Form
INSTANCE
public static final InterruptibleCommand INSTANCE
instance
public static InterruptibleCommand instance()
execute
public void execute()
throws InterruptedException
- Description copied from interface:
InterruptibleCommand
- Execute the command. The semantics of the command
is determined by the contract between the client and server.
- Specified by:
execute in interface InterruptibleCommand
- Throws:
InterruptedException
toString
public String toString()
- Overrides:
toString in class Object
Copyright (c) 2012 Oracle. All rights reserved.