CONTENT_TYPE, DEFAULT_NO_SUBJECT, MESSAGE_ID_SIZE, MESSAGE_SUBJECT_SIZE| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalSubject()
Get the canonical subject of this mail.
|
CustomContentEntityObject |
getEntity()
Gets the ContentEntityObject that backs this piece of content.
|
ConfluenceMailAddress |
getFrom() |
String |
getInReplyTo()
If this mail has an In-Reply-To header, get the message ID of the email that this message is a
response to.
|
String |
getMessageBody() |
String |
getMessageId() |
Collection<ConfluenceMailAddress> |
getRecipients() |
Collection<String> |
getReferences() |
Date |
getSentDate()
Gets the date this mail was sent;
|
Space |
getSpace()
Get the space this mail belongs to
|
String |
getSpaceKey() |
String |
getSubject()
Get the subject line of this mail.
|
static boolean |
isMailContentEntity(CustomContentEntityObject contentEntityObject) |
static ContentBackedMail |
newInstance(CustomContentEntityObject content) |
public static boolean isMailContentEntity(CustomContentEntityObject contentEntityObject)
public static ContentBackedMail newInstance(CustomContentEntityObject content)
public CustomContentEntityObject getEntity()
Contentpublic String getMessageId()
getMessageId in interface Mailpublic String getMessageBody()
getMessageBody in interface Mailpublic String getSpaceKey()
getSpaceKey in interface Mailpublic Date getSentDate()
MailgetSentDate in interface Mailpublic ConfluenceMailAddress getFrom()
public Collection<ConfluenceMailAddress> getRecipients()
getRecipients in interface Mailpublic String getCanonicalSubject()
MailgetCanonicalSubject in interface MailMail.getSubject()public String getSubject()
MailgetSubject in interface Mailpublic String getInReplyTo()
MailgetInReplyTo in interface Mailpublic Space getSpace()
Mailpublic Collection<String> getReferences()
getReferences in interface MailCopyright © 2003–2016 Atlassian. All rights reserved.