Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.utility.command
Class CombinedCommandExecutor.Default

java.lang.Object
  extended by org.eclipse.jpt.common.core.utility.command.CombinedCommandExecutor.Default
All Implemented Interfaces:
Serializable, CombinedCommandExecutor, JobCommandExecutor, CommandExecutor
Enclosing interface:
CombinedCommandExecutor

public static final class CombinedCommandExecutor.Default
extends Object
implements CombinedCommandExecutor, Serializable

Singleton implementation of the command executor interface that simply executes the command without any sort of enhancement.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.utility.command.CombinedCommandExecutor
CombinedCommandExecutor.Default, CombinedCommandExecutor.Inactive
 
Field Summary
static CombinedCommandExecutor 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 CombinedCommandExecutor instance()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final CombinedCommandExecutor INSTANCE
Method Detail

instance

public static CombinedCommandExecutor instance()

execute

public void execute(Command command)
Description copied from interface: CommandExecutor
Execute the specified command, synchronously or asynchronously. The commands themselves must be executed in the order in which they are passed to the command executor (at least when passed from clients executing on the same thread).

Specified by:
execute in interface CommandExecutor

execute

public void execute(JobCommand command)
Description copied from interface: JobCommandExecutor
Execute the specified command, synchronously or asynchronously. Commands with the same scheduling rule must be executed in the order in which they are passed to the command executor. The command may or may not be assigned to a Job for execution.

Specified by:
execute in interface JobCommandExecutor

execute

public void execute(JobCommand command,
                    String jobName)
Description copied from interface: JobCommandExecutor
Execute the specified command, synchronously or asynchronously. Commands with the same scheduling rule must be executed in the order in which they are passed to the command executor. The command may or may not be assigned to a Job for execution.

Specified by:
execute in interface JobCommandExecutor

execute

public void execute(JobCommand command,
                    String jobName,
                    ISchedulingRule schedulingRule)
Description copied from interface: JobCommandExecutor
Execute the specified command, synchronously or asynchronously. Commands with the same scheduling rule must be executed in the order in which they are passed to the command executor. The command may or may not be assigned to a Job for execution.

Specified by:
execute in interface JobCommandExecutor

toString

public String toString()
Overrides:
toString in class Object

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.