de.deepamehta.plugins.mail
Class StatusReport

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.plugins.mail.StatusReport
All Implemented Interfaces:
JSONEnabled

public class StatusReport
extends Object
implements JSONEnabled


Field Summary
private  Map<MailError,Set<String>> errors
           
private  String message
           
private  Topic topic
           
 
Constructor Summary
StatusReport(Topic topic)
           
 
Method Summary
 void addError(MailError error, String message)
           
 boolean hasErrors()
           
 void setMessage(String message)
           
 void setTopic(Topic topic)
           
 org.codehaus.jettison.json.JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

private String message

topic

private Topic topic

errors

private Map<MailError,Set<String>> errors
Constructor Detail

StatusReport

public StatusReport(Topic topic)
Method Detail

addError

public void addError(MailError error,
                     String message)

setMessage

public void setMessage(String message)

setTopic

public void setTopic(Topic topic)

hasErrors

public boolean hasErrors()

toJSON

public org.codehaus.jettison.json.JSONObject toJSON()
Specified by:
toJSON in interface JSONEnabled


Copyright © 2013. All Rights Reserved.