com.application.areca.processor
Class MailSendProcessor
java.lang.Object
com.application.areca.processor.AbstractProcessor
com.application.areca.processor.MailSendProcessor
- All Implemented Interfaces:
- Processor, Duplicable, java.lang.Comparable
public class MailSendProcessor
- extends AbstractProcessor
Sends the report by email
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
MailSendProcessor
public MailSendProcessor()
getRecipients
public java.lang.String getRecipients()
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getUser
public java.lang.String getUser()
setUser
public void setUser(java.lang.String user)
getIntro
public java.lang.String getIntro()
setIntro
public void setIntro(java.lang.String intro)
isSmtps
public boolean isSmtps()
setSmtps
public void setSmtps(boolean smtps)
isOnlyIfError
public boolean isOnlyIfError()
setOnlyIfError
public void setOnlyIfError(boolean onlyIfError)
getFrom
public java.lang.String getFrom()
setFrom
public void setFrom(java.lang.String from)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
setRecipients
public void setRecipients(java.lang.String recipients)
- Sets the recipients.
Multiple recipients are separated by one of the following characters : ' ' ',' ';'
getSmtpServer
public java.lang.String getSmtpServer()
setSmtpServer
public void setSmtpServer(java.lang.String smtpServer)
- Sets the smtp server used for transport
runImpl
public void runImpl(ProcessContext context)
throws ApplicationException
- Specified by:
runImpl
in class AbstractProcessor
- Throws:
ApplicationException
sendMail
public void sendMail(java.lang.String subject,
java.lang.String content,
java.io.PrintStream debugStream,
ProcessContext context)
throws ApplicationException
- Throws:
ApplicationException
getParametersSummary
public java.lang.String getParametersSummary()
duplicate
public Duplicable duplicate()
- Description copied from interface:
Duplicable
- Create a copy of the Duplicable
validate
public void validate()
throws ProcessorValidationException
- Throws:
ProcessorValidationException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object