Dali Provisional API
Release 3.2

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

All Known Implementing Classes:
InterruptibleCommandExecutor.Default

public interface InterruptibleCommandExecutor

This interface allows clients to control how an interruptible command is executed. This is useful when the server provides the command but the client provides the context (e.g. the client would like to dispatch the command to the UI thread).

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:
CommandExecutor

Nested Class Summary
static class InterruptibleCommandExecutor.Default
          Singleton implementation of the interruptible command executor interface that simply executes the command without any sort of enhancement.
 
Method Summary
 void execute(InterruptibleCommand command)
          Execute the specified command.
 

Method Detail

execute

void execute(InterruptibleCommand command)
             throws InterruptedException
Execute the specified command.

Throws:
InterruptedException

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.