Package mireka.pop
Class MaildropDestination
- Object
-
- mireka.pop.MaildropDestination
-
- All Implemented Interfaces:
Destination,MailDestination,ResponsibleDestination
public class MaildropDestination extends Object implements MailDestination
MaildropDestination puts the mail into the specified POP3 maildrop.
-
-
Constructor Summary
Constructors Constructor Description MaildropDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddata(Mail mail)Processes the mail.StringgetMaildropName()MaildropRepositorygetMaildropRepository()voidsetMaildropName(String maildropName)voidsetMaildropRepository(MaildropRepository maildropRepository)StringtoString()Returns a string representation of the destination suitable for logging purposes.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface mireka.destination.ResponsibleDestination
equals, hashCode
-
-
-
-
Method Detail
-
data
public void data(Mail mail) throws RejectExceptionExt
Description copied from interface:MailDestinationProcesses the mail. This function is called after the SMTP DATA command has been received. It is only called if there is at least one accepted recipient.- Specified by:
datain interfaceMailDestination- Throws:
RejectExceptionExt
-
setMaildropName
public void setMaildropName(String maildropName)
- Category:
- GETSET
-
getMaildropName
public String getMaildropName()
- Category:
- GETSET
-
setMaildropRepository
public void setMaildropRepository(MaildropRepository maildropRepository)
- Category:
- GETSET
-
getMaildropRepository
public MaildropRepository getMaildropRepository()
- Category:
- GETSET
-
toString
public String toString()
Description copied from interface:ResponsibleDestinationReturns a string representation of the destination suitable for logging purposes. Usually it should contain enough information to show the difference between non-equal destinations.- Specified by:
toStringin interfaceResponsibleDestination- Overrides:
toStringin classObject
-
-