com.norconex.jef
Class SyncJobGroup
java.lang.Object
com.norconex.jef.AbstractJobGroup
com.norconex.jef.SyncJobGroup
- All Implemented Interfaces:
- IJob, IJobGroup
public class SyncJobGroup
- extends AbstractJobGroup
Job responsible for running a group of jobs synchronously. Jobs are
executed in the order specified by the IJob[]
array.
The progress of this
group reflects the average progress of all its jobs. This job group
is considered completed and will only return when all its jobs are
done executing. An exception in one job will stop the other jobs
in the group from executing. Such an exception will
result in this group to fail.
- Author:
- Pascal Essiembre
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncJobGroup
public SyncJobGroup(String id,
IJob... jobs)
SyncJobGroup
public SyncJobGroup(String id,
String description,
IJob... jobs)
execute
public final void execute(JobProgress progress,
JobSuite suite)
- Description copied from interface:
IJob
- Executes this job. Implementors are responsible for updating
execution progress on the given
JobProgress
.
- Parameters:
progress
- current job progresssuite
- job suite this job is part of
Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.