com.atlassian.confluence.plugins.emailtopage
Class CreatePageEmailHandler

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

public class CreatePageEmailHandler
extends java.lang.Object
implements com.atlassian.confluence.plugins.emailgateway.api.StagingEmailHandler<AbstractPage>

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

Since:
5.3

Constructor Summary
CreatePageEmailHandler(com.atlassian.confluence.plugins.emailgateway.api.EmailStagingService emailStagingService, com.atlassian.confluence.plugins.emailgateway.api.ConfirmationNotificationSender confirmationNotificationSender, com.atlassian.confluence.plugins.emailgateway.api.EmailToContentConverter<AbstractPage> converter)
           
 
Method Summary
 com.atlassian.confluence.plugins.emailgateway.api.ConfirmationNotificationSender getConfirmationNotificationSender()
           
 com.atlassian.confluence.plugins.emailgateway.api.EmailToContentConverter<AbstractPage> getConverter()
           
 boolean handle(com.atlassian.confluence.plugins.emailgateway.api.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(com.atlassian.confluence.plugins.emailgateway.api.EmailStagingService emailStagingService,
                              com.atlassian.confluence.plugins.emailgateway.api.ConfirmationNotificationSender confirmationNotificationSender,
                              com.atlassian.confluence.plugins.emailgateway.api.EmailToContentConverter<AbstractPage> converter)
Method Detail

handle

public boolean handle(com.atlassian.confluence.plugins.emailgateway.api.ReceivedEmail email)
               throws com.atlassian.confluence.plugins.emailgateway.api.EmailHandlingException
Specified by:
handle in interface com.atlassian.confluence.plugins.emailgateway.api.EmailHandler
Throws:
com.atlassian.confluence.plugins.emailgateway.api.EmailHandlingException

getConfirmationNotificationSender

public com.atlassian.confluence.plugins.emailgateway.api.ConfirmationNotificationSender getConfirmationNotificationSender()
Specified by:
getConfirmationNotificationSender in interface com.atlassian.confluence.plugins.emailgateway.api.StagingEmailHandler<AbstractPage>

getConverter

public com.atlassian.confluence.plugins.emailgateway.api.EmailToContentConverter<AbstractPage> getConverter()
Specified by:
getConverter in interface com.atlassian.confluence.plugins.emailgateway.api.StagingEmailHandler<AbstractPage>


Copyright © 2003-2013 Atlassian. All Rights Reserved.