Class Job

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
CronJobHistoryJobExceptionTest.ExceptionJob, CustomAttributesTriggerableJob, GeneratedBatchJob, GeneratedCompareCatalogVersionsJob, GeneratedCompositeJob, GeneratedImpExExportJob, GeneratedImpExImportJob, GeneratedLDIFGroupImportJob, GeneratedLDIFImportJob, GeneratedMoveMediaJob, GeneratedRemoveCatalogVersionJob, GeneratedRemoveItemsJob, GeneratedRemoveOrphanedFilesJob, GeneratedServicelayerJob, GeneratedSyncItemJob, GeneratedTypeSystemExportJob, GeneratedWorkflowTemplate, SyncExcutionTestJob, TestJob, TriggerableTwoSecondJob

public abstract class Job extends GeneratedJob
The Job implements tasks, whose execution can be scheduled and which can be executed both synchronous and asynchronous (by running in a separated Thread). The Job just implements all the logic of the task it implements, it stores no "runtime" information. The runtime information (for example session parameters (user, language, currency), import source file, or execution result) are stored in the CronJob instance, which is passed to the Job when it is started.

Apart from the normal execution of the task the Job implements, a Job can support the undo-mechanism, which allows to undo all changes, which have been performed by the previous execution of the Job and the specified CronJob.

See Also: