public static class

EmailHeaderBuilders.InReplyToHeaderBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.jira.mail.threading.EmailHeaderBuilders.InReplyToHeaderBuilder

Class Overview

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.

Summary

Public Constructors
InReplyToHeaderBuilder(Issue issue)
Public Methods
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.
EmailHeaderBuilders.InReplyToHeaderBuilder setDropMillis(boolean dropMillis)
EmailHeaderBuilders.InReplyToHeaderBuilder setHostName(String hostName)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public InReplyToHeaderBuilder (Issue issue)

Public Methods

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.

public EmailHeaderBuilders.InReplyToHeaderBuilder setDropMillis (boolean dropMillis)

public EmailHeaderBuilders.InReplyToHeaderBuilder setHostName (String hostName)