public class

MailMessage

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.mail.MailMessage

Class Overview

Class representing a mail message.

Summary

Nested Classes
class MailMessage.Builder  
Public Constructors
MailMessage(Set<String> to, String from, Set<String> cc, Set<String> bcc, Set<MailAttachment> attachments, String text, String subject, Map<String, String> headers)
Public Methods
boolean equals(Object o)
@Nonnull Set<MailAttachment> getAttachments()
@Nonnull Set<String> getBcc()
@Nonnull Set<String> getCc()
@Nullable String getFrom()
@Nonnull Map<String, String> getHeaders()
@Nonnull String getSubject()
@Nonnull String getText()
@Nonnull Set<String> getTo()
boolean hasBcc()
boolean hasCc()
boolean hasFrom()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MailMessage (Set<String> to, String from, Set<String> cc, Set<String> bcc, Set<MailAttachment> attachments, String text, String subject, Map<String, String> headers)

Public Methods

public boolean equals (Object o)

@Nonnull public Set<MailAttachment> getAttachments ()

@Nonnull public Set<String> getBcc ()

@Nonnull public Set<String> getCc ()

@Nullable public String getFrom ()

@Nonnull public Map<String, String> getHeaders ()

@Nonnull public String getSubject ()

@Nonnull public String getText ()

@Nonnull public Set<String> getTo ()

public boolean hasBcc ()

public boolean hasCc ()

public boolean hasFrom ()

public int hashCode ()