|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norconex.jef.suite.SuiteLifeCycleAdapter
public class SuiteLifeCycleAdapter
Adapter for a suite life-cycle listener. Default implementation for all methods do nothing.
Constructor Summary | |
---|---|
SuiteLifeCycleAdapter()
|
Method Summary | |
---|---|
void |
suiteAborted(JobSuite suite)
Invoked when a job suite is aborted. |
void |
suiteCompleted(JobSuite suite)
Invoked when a job suite completes. |
void |
suiteStarted(JobSuite suite)
Invoked when a job suite is started. |
void |
suiteStopped(JobSuite suite)
Invoked when a job suite is stopped. |
void |
suiteStopping(JobSuite suite)
Invoked when a job suite is stopping. |
void |
suiteTerminatedPrematuraly(JobSuite suite)
Invoked when a job suite finished executing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SuiteLifeCycleAdapter()
Method Detail |
---|
public void suiteAborted(JobSuite suite)
ISuiteLifeCycleListener
IErrorHandler
to implement error handing.
suiteAborted
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteTerminatedPrematuraly(JobSuite suite)
ISuiteLifeCycleListener
suiteTerminatedPrematuraly
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteStarted(JobSuite suite)
ISuiteLifeCycleListener
suiteStarted
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteCompleted(JobSuite suite)
ISuiteLifeCycleListener
true
and
progress is at 100%. Given that jobs are implemented correctly,
this is usually a good indication of success.
suiteCompleted
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteStopped(JobSuite suite)
ISuiteLifeCycleListener
suiteStopped
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteStopping(JobSuite suite)
ISuiteLifeCycleListener
suiteStopping
in interface ISuiteLifeCycleListener
suite
- job suite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |