public class InitialBuildTriggerReason extends AbstractTriggerReason
Modifier and Type | Field and Description |
---|---|
static String |
KEY |
PLUGIN_KEY, textProvider
Constructor and Description |
---|
InitialBuildTriggerReason() |
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.
|
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 result)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNull
public static final String KEY
public String getName()
TriggerReason
public String getNameForSentence()
TriggerReason
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 result)
TriggerReason
TriggerReason
given a BambooCustomDataAware
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.