public abstract class AbstractJobGroup extends Object implements IJobGroup
Constructor and Description |
---|
AbstractJobGroup(String id,
IJob... jobs)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(JobStatusUpdater statusUpdater,
JobSuite suite)
Executes this job.
|
abstract void |
executeGroup(JobSuite suite) |
String |
getId()
Gets the job unique identifier.
|
IJob[] |
getJobs()
Gets all jobs part of this group.
|
void |
groupProgressed(IJobStatus childJobStatus) |
void |
stop(IJobStatus status,
JobSuite suite)
Stops this job.
|
public final IJob[] getJobs()
IJobGroup
public final String getId()
IJob
public void execute(JobStatusUpdater statusUpdater, JobSuite suite)
IJob
JobProgress
.public abstract void executeGroup(JobSuite suite)
public void groupProgressed(IJobStatus childJobStatus)
groupProgressed
in interface IJobGroup
public void stop(IJobStatus status, JobSuite suite)
IJob
Copyright © 2007–2021 Norconex Inc.. All rights reserved.