|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.common.utility.command.ExtendedCommandExecutor.Inactive
public static final class ExtendedCommandExecutor.Inactive
Singleton implementation of the command executor interface that ignores any commands.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.utility.command.ExtendedCommandExecutor |
|---|
ExtendedCommandExecutor.Default, ExtendedCommandExecutor.Inactive |
| Field Summary | |
|---|---|
static ExtendedCommandExecutor |
INSTANCE
|
| Method Summary | |
|---|---|
void |
execute(Command command)
Execute the specified command, synchronously or asynchronously. |
static ExtendedCommandExecutor |
instance()
|
String |
toString()
|
void |
waitToExecute(Command command)
Suspend the current thread until the specified command is executed. |
boolean |
waitToExecute(Command command,
long timeout)
Suspend the current thread until the specified command is executed or the specified time-out occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ExtendedCommandExecutor INSTANCE
| Method Detail |
|---|
public static ExtendedCommandExecutor instance()
public void execute(Command command)
CommandExecutor
execute in interface CommandExecutorpublic void waitToExecute(Command command)
ExtendedCommandExecutor
waitToExecute in interface ExtendedCommandExecutorCommandExecutor.execute(Command)
public boolean waitToExecute(Command command,
long timeout)
ExtendedCommandExecutortrue if
the command was executed in the allotted time;
return false if a time-out occurred and the command was
not executed.
If the time-out is zero, wait indefinitely.
The command itself must be executed after any other commands previously passed to the command executor (at least when passed from clients executing on the same thread).
waitToExecute in interface ExtendedCommandExecutorCommandExecutor.execute(Command)public String toString()
toString in class Object
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||