public class AddCommentModification extends TicketModification
Modifier and Type | Class and Description |
---|---|
static class |
AddCommentModification.DescribtorImpl
Descriptor implementation.
|
Constructor and Description |
---|
AddCommentModification(String commentBody)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(String ticketKey,
JIRAAccessTool jira,
org.apache.commons.lang.text.StrSubstitutor varReplacer,
PrintStream logger)
Called when a ticket should be updated.
|
String |
getCommentBody() |
@DataBoundConstructor public AddCommentModification(String commentBody)
commentBody
- the body of the comment to addpublic String getCommentBody()
public void apply(String ticketKey, JIRAAccessTool jira, org.apache.commons.lang.text.StrSubstitutor varReplacer, PrintStream logger)
TicketModification
apply
in class TicketModification
ticketKey
- the key of the ticket to updatejira
- the jira access tool which may be used to perform the updatevarReplacer
- the variable replacer for parameterslogger
- the logger of the build processCopyright © 2004-2018. All Rights Reserved.