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()
Content
public String getMessageId()
getMessageId
in interface Mail
public String getMessageBody()
getMessageBody
in interface Mail
public String getSpaceKey()
getSpaceKey
in interface Mail
public Date getSentDate()
Mail
getSentDate
in interface Mail
public ConfluenceMailAddress getFrom()
public Collection<ConfluenceMailAddress> getRecipients()
getRecipients
in interface Mail
public String getCanonicalSubject()
Mail
getCanonicalSubject
in interface Mail
Mail.getSubject()
public String getSubject()
Mail
getSubject
in interface Mail
public String getInReplyTo()
Mail
getInReplyTo
in interface Mail
public Space getSpace()
Mail
public Collection<String> getReferences()
getReferences
in interface Mail
Copyright © 2003–2015 Atlassian. All rights reserved.