Dali Provisional API
Release 3.2

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

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

public static final class JobCommandExecutor.Default
extends Object
implements JobCommandExecutor, 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.JobCommandExecutor
JobCommandExecutor.Default, JobCommandExecutor.Inactive
 
Field Summary
static JobCommandExecutor INSTANCE
           
 
Method Summary
 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 JobCommandExecutor 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 JobCommandExecutor INSTANCE
Method Detail

instance

public static JobCommandExecutor instance()

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.