public class DependencyTriggerReason extends AbstractTriggerReason implements BuildResultTriggerReason
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY |
static String |
TRIGGER_BUILD_RESULT_KEY |
PLUGIN_KEY| 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,
@NotNull ResultsSummary resultsSummary)
Initializes the
TriggerReason using data from the ResultsSummary |
void |
setTriggeringBuildResultKey(String triggeringBuildResultKey) |
void |
updateCustomData(@NotNull BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, toString, updateIfValueNotNullpublic static final String KEY
public static final String TRIGGER_BUILD_RESULT_KEY
public String getName()
TriggerReasongetName in interface TriggerReasonpublic String getNameForSentence()
TriggerReasongetNameForSentence in interface TriggerReasonpublic void init(String key, Map<String,String> fields)
TriggerReasonTriggerReason using data from the Mapinit in interface TriggerReasonpublic void init(String key, @NotNull @NotNull ResultsSummary resultsSummary)
TriggerReasonTriggerReason using data from the ResultsSummaryinit in interface TriggerReasonpublic void updateCustomData(@NotNull
@NotNull BambooCustomDataAware customDataAware)
TriggerReasonTriggerReason given a BambooCustomDataAwareupdateCustomData in interface TriggerReasonpublic String getTriggeringBuildResultKey()
getTriggeringBuildResultKey in interface BuildResultTriggerReasonpublic void setTriggeringBuildResultKey(String triggeringBuildResultKey)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.