com.atlassian.confluence.plugins.emailtopage
Class CreatePageEmailHandler

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailtopage.CreatePageEmailHandler
All Implemented Interfaces:
EmailHandler, StagingEmailHandler<AbstractPage>

public class CreatePageEmailHandler
extends java.lang.Object
implements StagingEmailHandler<AbstractPage>

Creates a page in response to receiving an unrecognised email thread.

Since:
5.3

Constructor Summary
CreatePageEmailHandler(EmailStagingService emailStagingService, ConfirmationNotificationSender confirmationNotificationSender, EmailToContentConverter<AbstractPage> converter)
           
 
Method Summary
 ConfirmationNotificationSender getConfirmationNotificationSender()
           
 EmailToContentConverter<AbstractPage> getConverter()
           
 boolean handle(ReceivedEmail email)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreatePageEmailHandler

public CreatePageEmailHandler(EmailStagingService emailStagingService,
                              ConfirmationNotificationSender confirmationNotificationSender,
                              EmailToContentConverter<AbstractPage> converter)
Method Detail

handle

public boolean handle(ReceivedEmail email)
               throws EmailHandlingException
Specified by:
handle in interface EmailHandler
Returns:
true if this handler handled this email.
Throws:
EmailHandlingException

getConfirmationNotificationSender

public ConfirmationNotificationSender getConfirmationNotificationSender()
Specified by:
getConfirmationNotificationSender in interface StagingEmailHandler<AbstractPage>

getConverter

public EmailToContentConverter<AbstractPage> getConverter()
Specified by:
getConverter in interface StagingEmailHandler<AbstractPage>


Copyright © 2003-2014 Atlassian. All Rights Reserved.