public class CodeChangedTriggerReason extends AbstractTriggerReason
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY |
PLUGIN_KEY, textProvider| Constructor and Description |
|---|
CodeChangedTriggerReason() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBuildResultKey() |
String |
getName()
Gives the trigger reason
|
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence
eg.
|
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 |
updateCustomData(BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNullpublic static final String KEY
public String getName()
TriggerReasonpublic String getNameForSentence()
TriggerReasonpublic void init(String key, Map<String,String> fields)
TriggerReasonTriggerReason using data from the Mappublic void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReasonTriggerReason using data from the ResultsSummarypublic void updateCustomData(@NotNull
BambooCustomDataAware customDataAware)
TriggerReasonTriggerReason given a BambooCustomDataAware@Nullable public String getBuildResultKey()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.