com.atlassian.confluence.mail.archive
Class MailPollResult

java.lang.Object
  extended by com.atlassian.confluence.mail.archive.MailPollResult

public class MailPollResult
extends Object


Method Summary
static MailPollResult failure(String description, String errorMessage)
           
 String getErrorMessage()
           
 String getMailAccountDescription()
           
 int getMailRetrieved()
           
 boolean isSuccess()
           
static MailPollResult success(String description, int mailRetrieved)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

success

public static MailPollResult success(String description,
                                     int mailRetrieved)

failure

public static MailPollResult failure(String description,
                                     String errorMessage)

getMailRetrieved

public int getMailRetrieved()

isSuccess

public boolean isSuccess()

getErrorMessage

public String getErrorMessage()

getMailAccountDescription

public String getMailAccountDescription()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.