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.
Constructor and Description |
---|
InReplyToHeaderBuilder(Issue issue) |
Modifier and Type | Method and Description |
---|---|
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) |
public InReplyToHeaderBuilder(Issue issue)
public EmailHeaderBuilders.InReplyToHeaderBuilder setHostName(String hostName)
public EmailHeaderBuilders.InReplyToHeaderBuilder setDropMillis(boolean dropMillis)
public String build()
MessageIdBuilder
class.Copyright © 2002-2022 Atlassian. All Rights Reserved.