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