|
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.core.utility.command.CombinedExtendedCommandExecutor.Default
public static final class CombinedExtendedCommandExecutor.Default
Singleton implementation of the command executor interface that simply executes the command without any sort of enhancement.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.utility.command.CombinedExtendedCommandExecutor |
|---|
CombinedExtendedCommandExecutor.Default, CombinedExtendedCommandExecutor.Inactive |
| Field Summary | |
|---|---|
static CombinedExtendedCommandExecutor |
INSTANCE
|
| Method Summary | |
|---|---|
void |
execute(Command command)
Execute the specified command, synchronously or asynchronously. |
void |
execute(JobCommand command)
Execute the specified command, synchronously or asynchronously. |
void |
execute(JobCommand command,
String jobName)
Execute the specified command, synchronously or asynchronously. |
void |
execute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
Execute the specified command, synchronously or asynchronously. |
static CombinedExtendedCommandExecutor |
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. |
void |
waitToExecute(JobCommand command)
Suspend the current thread until the specified command is executed. |
boolean |
waitToExecute(JobCommand command,
long timeout)
Suspend the current thread until the specified command is executed or the specified time-out occurs. |
void |
waitToExecute(JobCommand command,
String jobName)
Suspend the current thread until the specified command is executed. |
void |
waitToExecute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
Suspend the current thread until the specified command is executed. |
boolean |
waitToExecute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule,
long timeout)
Suspend the current thread until the specified command is executed or the specified time-out occurs. |
boolean |
waitToExecute(JobCommand command,
String jobName,
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 CombinedExtendedCommandExecutor INSTANCE
| Method Detail |
|---|
public static CombinedExtendedCommandExecutor 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 void execute(JobCommand command)
JobCommandExecutorJob for execution.
execute in interface JobCommandExecutor
public void execute(JobCommand command,
String jobName)
JobCommandExecutorJob for execution.
execute in interface JobCommandExecutor
public void execute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
JobCommandExecutorJob for execution.
execute in interface JobCommandExecutorpublic void waitToExecute(JobCommand command)
ExtendedJobCommandExecutorJob
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand)
public boolean waitToExecute(JobCommand command,
long timeout)
ExtendedJobCommandExecutortrue 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. The command may or may
not be assigned to a Job
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand)
public void waitToExecute(JobCommand command,
String jobName)
ExtendedJobCommandExecutorJob
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand, String)
public boolean waitToExecute(JobCommand command,
String jobName,
long timeout)
ExtendedJobCommandExecutortrue 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. The command may or may
not be assigned to a Job
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand, String)
public void waitToExecute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule)
ExtendedJobCommandExecutorJob
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand, String, ISchedulingRule)
public boolean waitToExecute(JobCommand command,
String jobName,
ISchedulingRule schedulingRule,
long timeout)
ExtendedJobCommandExecutortrue 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. The command may or may
not be assigned to a Job
for execution.
waitToExecute in interface ExtendedJobCommandExecutorJobCommandExecutor.execute(JobCommand, String, ISchedulingRule)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 | ||||||||||