Dali Provisional API
Release 3.2

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

All Superinterfaces:
CommandExecutor
All Known Subinterfaces:
StatefulExtendedCommandExecutor

public interface StatefulCommandExecutor
extends CommandExecutor

Add the ability to start and stop the command executor.

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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.CommandExecutor
CommandExecutor.Default, CommandExecutor.Inactive
 
Method Summary
 void start()
          Start the command executor.
 void stop()
          Stop the command executor.
 
Methods inherited from interface org.eclipse.jpt.common.utility.command.CommandExecutor
execute
 

Method Detail

start

void start()
Start the command executor.

Throws:
IllegalStateException - when the command executor is not stopped

stop

void stop()
          throws InterruptedException
Stop the command executor.

Throws:
IllegalStateException - when the command executor is not started
InterruptedException

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.