public class SuiteCompletedMailNotifier extends AbstractMailNotifier implements ISuiteLifeCycleListener
| Constructor and Description |
|---|
SuiteCompletedMailNotifier(String host,
String sender,
String recipient) |
SuiteCompletedMailNotifier(String host,
String sender,
String[] recipients) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getLogTail, getMailer, getRecipientspublic SuiteCompletedMailNotifier(String host, String sender, String recipient)
host - mail server hostsender - email address of sender ("From" field)recipient - email address of recipient ("To" field)AbstractMailNotifier.AbstractMailNotifier(String, String, String)public SuiteCompletedMailNotifier(String host, String sender, String[] recipients)
host - mail server hostsender - email address of sender ("From" field)recipients - email address of recipients ("To" field)AbstractMailNotifier.AbstractMailNotifier(String, String, String[])public void suiteAborted(JobSuite suite)
ISuiteLifeCycleListenerIJobErrorListener for more options.suiteAborted in interface ISuiteLifeCycleListenersuite - job suitepublic void suiteStarted(JobSuite suite)
ISuiteLifeCycleListenersuiteStarted in interface ISuiteLifeCycleListenersuite - job suitepublic final void suiteCompleted(JobSuite suite)
ISuiteLifeCycleListenertrue and
progress is at 100%. Given that jobs are implemented correctly,
this is usually a good indication of success.suiteCompleted in interface ISuiteLifeCycleListenersuite - job suitepublic void suiteTerminatedPrematuraly(JobSuite suite)
ISuiteLifeCycleListenersuiteTerminatedPrematuraly in interface ISuiteLifeCycleListenersuite - job suitepublic void suiteStopped(JobSuite suite)
ISuiteLifeCycleListenersuiteStopped in interface ISuiteLifeCycleListenersuite - job suitepublic void suiteStopping(JobSuite suite)
ISuiteLifeCycleListenersuiteStopping in interface ISuiteLifeCycleListenersuite - job suiteCopyright © 2007–2021 Norconex Inc.. All rights reserved.