|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norconex.jef.mail.AbstractMailNotifier
com.norconex.jef.mail.SuiteCompletedMailNotifier
public class SuiteCompletedMailNotifier
Simple suite life-cycle listener notifying email recipients when a job suite completes.
Constructor Summary | |
---|---|
SuiteCompletedMailNotifier(String host,
String sender,
String recipient)
|
|
SuiteCompletedMailNotifier(String host,
String sender,
String[] recipients)
|
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 com.norconex.jef.mail.AbstractMailNotifier |
---|
getLogTail, getMailer, getRecipients |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SuiteCompletedMailNotifier(String host, String sender, String recipient)
AbstractMailNotifier.AbstractMailNotifier(String, String, String)
public SuiteCompletedMailNotifier(String host, String sender, String[] recipients)
AbstractMailNotifier.AbstractMailNotifier(String, String, String[])
Method Detail |
---|
public void suiteAborted(JobSuite suite)
ISuiteLifeCycleListener
IErrorHandler
to implement error handing.
suiteAborted
in interface ISuiteLifeCycleListener
suite
- job suitepublic void suiteStarted(JobSuite suite)
ISuiteLifeCycleListener
suiteStarted
in interface ISuiteLifeCycleListener
suite
- job suitepublic final 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 suiteTerminatedPrematuraly(JobSuite suite)
ISuiteLifeCycleListener
suiteTerminatedPrematuraly
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 |