com.atlassian.jira.mail.threading
Class EmailHeaderBuilders.InReplyToHeaderBuilder
java.lang.Object
com.atlassian.jira.mail.threading.EmailHeaderBuilders.InReplyToHeaderBuilder
- Enclosing class:
- EmailHeaderBuilders
public static class EmailHeaderBuilders.InReplyToHeaderBuilder
- extends Object
Responsible for building the string value for the In-Reply-To header included in JIRA's email notifications.
Format of String is:
<JIRA.${issue-id}.${created-date-millis}@${hostY}>
created-date-millis
can be the String "null" if at some point the issue corresponding to
issue-id
had its created-date set to null.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailHeaderBuilders.InReplyToHeaderBuilder
public EmailHeaderBuilders.InReplyToHeaderBuilder(Issue issue)
setHostName
public EmailHeaderBuilders.InReplyToHeaderBuilder setHostName(String hostName)
build
public String build()
- It is important that this method wraps the resulting String with angle brackets, since this is
NOT the responsibility of the caller, in contrast to the build method in the
MessageIdBuilder
class.
- Returns:
- a String representation of the In-Reply-To email header value.
Copyright © 2002-2014 Atlassian. All Rights Reserved.