Dali Provisional API
Release 3.2

org.eclipse.jpt.common.utility.command
Interface InterruptibleCommand

All Known Subinterfaces:
Command, NotifyingRepeatingCommand, RepeatingCommand

public interface InterruptibleCommand

Simple interface for implementing the GOF Command design pattern and allows for the command to throw an InterruptedException.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
Command, InterruptibleClosure, org.eclipse.jpt.common.utility.factory.InterruptibleFactory, InterruptibleTransformer

Method Summary
 void execute()
          Execute the command.
 

Method Detail

execute

void execute()
             throws InterruptedException
Execute the command. The semantics of the command is determined by the contract between the client and server.

Throws:
InterruptedException

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.