Package | Description |
---|---|
com.norconex.jef4.exec |
Utility classes related to process/code execution.
|
com.norconex.jef4.job |
Job-related classes.
|
com.norconex.jef4.job.group |
Classes related to the grouping of jobs.
|
com.norconex.jef4.status |
Job-status related classes.
|
com.norconex.jef4.suite |
Classes related to a job suite.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemCommandJob.stop(IJobStatus status,
JobSuite suite)
Default implementation of this method will check if the
SystemCommand it runs is currently holding to a
Process process instance and destroys them. |
Modifier and Type | Method and Description |
---|---|
IJobStatus |
JobErrorEvent.getStatus()
Gets the job progress of the job from which the error got triggered.
|
Modifier and Type | Method and Description |
---|---|
void |
IJobLifeCycleListener.jobCompleted(IJobStatus status)
Invoked after a job normally finished its execution.
|
void |
AbstractJobStateChangeListener.jobCompleted(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobCompleted(IJobStatus progress) |
void |
IJobLifeCycleListener.jobProgressed(IJobStatus status)
Invoked every time the status state changes.
|
void |
AbstractJobStateChangeListener.jobProgressed(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobProgressed(IJobStatus progress) |
void |
IJobLifeCycleListener.jobResumed(IJobStatus status)
Invoked just before a job resumes its execution.
|
void |
AbstractJobStateChangeListener.jobResumed(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobResumed(IJobStatus progress) |
void |
IJobLifeCycleListener.jobSkipped(IJobStatus status)
Invoked when the execution of a job gets skipped.
|
void |
AbstractJobStateChangeListener.jobSkipped(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobSkipped(IJobStatus progress) |
void |
IJobLifeCycleListener.jobStarted(IJobStatus status)
Invoked just before a job begins its execution.
|
void |
AbstractJobStateChangeListener.jobStarted(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobStarted(IJobStatus progress) |
abstract void |
AbstractJobStateChangeListener.jobStateChanged(IJobStatus progress)
Invoked when any of the following are invoked
(unless they are overridden):
jobTerminatedPrematuraly, jobProgressed, jobStarted, jobResumed,
jobStopping, jobStopped, jobCompleted . |
void |
IJobLifeCycleListener.jobStopped(IJobStatus status)
Invoked just after has stopped.
|
void |
AbstractJobStateChangeListener.jobStopped(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobStopped(IJobStatus progress) |
void |
IJobLifeCycleListener.jobStopping(IJobStatus status)
Invoked just before a job starts to stop.
|
void |
AbstractJobStateChangeListener.jobStopping(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobStopping(IJobStatus progress) |
void |
IJobLifeCycleListener.jobTerminatedPrematuraly(IJobStatus status)
Invoked after a job finished its execution before status was
100% complete.
|
void |
AbstractJobStateChangeListener.jobTerminatedPrematuraly(IJobStatus progress) |
void |
AbstractJobLifeCycleListener.jobTerminatedPrematuraly(IJobStatus progress) |
void |
IJob.stop(IJobStatus status,
JobSuite suite)
Stops this job.
|
void |
IJobVisitor.visitJob(IJob job,
IJobStatus jobStatus)
Visits a job.
|
Constructor and Description |
---|
JobErrorEvent(Throwable t,
JobSuite suite,
IJobStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
IJobGroup.groupProgressed(IJobStatus childJobStatus) |
void |
AbstractJobGroup.groupProgressed(IJobStatus childJobStatus) |
void |
AbstractJobGroup.stop(IJobStatus status,
JobSuite suite) |
Modifier and Type | Class and Description |
---|---|
class |
MutableJobStatus |
Modifier and Type | Method and Description |
---|---|
IJobStatus |
JobSuiteStatusSnapshot.getJobStatus(IJob job) |
IJobStatus |
JobSuiteStatusSnapshot.getJobStatus(String jobId) |
IJobStatus |
JobSuiteStatusSnapshot.getParent(IJobStatus jobStatus) |
IJobStatus |
JobSuiteStatusSnapshot.getParent(String jobId) |
IJobStatus |
JobSuiteStatusSnapshot.getRoot() |
IJobStatus |
IJobStatusStore.read(String suiteName,
String jobId)
Reads a job progress.
|
IJobStatus |
FileJobStatusStore.read(String suiteName,
String jobId) |
Modifier and Type | Method and Description |
---|---|
List<IJobStatus> |
JobSuiteStatusSnapshot.getChildren(IJobStatus jobStatus) |
List<IJobStatus> |
JobSuiteStatusSnapshot.getChildren(String jobId) |
List<IJobStatus> |
JobSuiteStatusSnapshot.getJobStatusList() |
Modifier and Type | Method and Description |
---|---|
List<IJobStatus> |
JobSuiteStatusSnapshot.getChildren(IJobStatus jobStatus) |
IJobStatus |
JobSuiteStatusSnapshot.getParent(IJobStatus jobStatus) |
void |
IJobStatusVisitor.visitJobStatus(IJobStatus jobStatus)
Visits a job status.
|
void |
IJobStatusStore.write(String suiteName,
IJobStatus jobStatus)
Writes a job progress.
|
void |
FileJobStatusStore.write(String suiteName,
IJobStatus jobStatus) |
Constructor and Description |
---|
JobStatusTreeNode(IJobStatus parentStatus,
IJobStatus jobStatus,
List<JobSuiteStatusSnapshot.JobStatusTreeNode> children) |
Modifier and Type | Method and Description |
---|---|
IJobStatus |
JobSuite.getJobStatus(IJob job) |
IJobStatus |
JobSuite.getJobStatus(String jobId) |
IJobStatus |
JobSuite.getStatus()
Gets the job status for the root job.
|
Copyright © 2007–2021 Norconex Inc.. All rights reserved.