com.atlassian.confluence.mail.archive
Class MailPollResult

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

public class MailPollResult
extends java.lang.Object


Method Summary
static MailPollResult failure(java.lang.String description, java.lang.String errorMessage)
           
 java.lang.String getErrorMessage()
           
 java.lang.String getMailAccountDescription()
           
 int getMailRetrieved()
           
 boolean isSuccess()
           
static MailPollResult success(java.lang.String description, int mailRetrieved)
           
 java.lang.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(java.lang.String description,
                                     int mailRetrieved)

failure

public static MailPollResult failure(java.lang.String description,
                                     java.lang.String errorMessage)

getMailRetrieved

public int getMailRetrieved()

isSuccess

public boolean isSuccess()

getErrorMessage

public java.lang.String getErrorMessage()

getMailAccountDescription

public java.lang.String getMailAccountDescription()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.