public class SetFieldModification extends TicketModification
Modifier and Type | Class and Description |
---|---|
static class |
SetFieldModification.DescribtorImpl
Descriptor implementation.
|
Constructor and Description |
---|
SetFieldModification(String fieldHumanReadableName,
String valueToSet)
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 |
getFieldHumanReadableName() |
String |
getValueToSet() |
public String getFieldHumanReadableName()
public String getValueToSet()
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.