public class JIRAReleaseTriggerReason extends AbstractTriggerReason
PLUGIN_KEY, textProvider
Constructor and Description |
---|
JIRAReleaseTriggerReason() |
Modifier and Type | Method and Description |
---|---|
String |
getJiraBaseUrl() |
String |
getJiraProjectKey() |
String |
getJiraProjectName() |
String |
getJiraUsername() |
String |
getJiraVersionName() |
String |
getName()
Gives the trigger reason
|
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence
eg.
|
String |
getTriggerReason() |
void |
init(String key,
Map<String,String> fields)
Initializes the
TriggerReason using data from the Map |
void |
init(String key,
ResultsSummary resultsSummary)
Initializes the
TriggerReason using data from the ResultsSummary |
void |
setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
void |
updateCustomData(BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNull
public void init(String key, Map<String,String> fields)
TriggerReason
TriggerReason
using data from the Map
public void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReason
TriggerReason
using data from the ResultsSummary
public void updateCustomData(@NotNull BambooCustomDataAware customDataAware)
TriggerReason
TriggerReason
given a BambooCustomDataAware
public String getName()
TriggerReason
public String getNameForSentence()
TriggerReason
public String getTriggerReason()
public String getJiraUsername()
public String getJiraProjectName()
public String getJiraProjectKey()
public String getJiraVersionName()
public String getJiraBaseUrl()
public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.