com.atlassian.confluence.plugins.emailgateway.service
Class BulkPollingEmailProcessingService
java.lang.Object
com.atlassian.confluence.plugins.emailgateway.service.BulkPollingEmailProcessingService
- All Implemented Interfaces:
- BulkEmailProcessingService
public class BulkPollingEmailProcessingService
- extends Object
- implements BulkEmailProcessingService
An implementation of BulkEmailProcessingService which polls for new inbound emails using
an EmailPoller, then hands them off to a EmailStagingService for processing.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BulkPollingEmailProcessingService
public BulkPollingEmailProcessingService(EmailPoller emailPoller,
EmailStagingService emailStagingService)
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interface BulkEmailProcessingService
processInboundEmail
public int processInboundEmail()
- Description copied from interface:
BulkEmailProcessingService
- Processes any pending inbound emails.
- Specified by:
processInboundEmail
in interface BulkEmailProcessingService
- Returns:
- The number of inbound emails successfully handled.
Copyright © 2003-2013 Atlassian. All Rights Reserved.