Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Class InterruptibleCommand.Interrupted

java.lang.Object
  extended by 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

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

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

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.