public class TagBuildTriggerReason extends AbstractTriggerReason
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_KEY |
static String |
KEY |
static String |
TRIGGER_CUSTOM_REVISION |
static String |
TRIGGER_TAG_NAME |
PLUGIN_KEY, textProvider
Constructor and Description |
---|
TagBuildTriggerReason() |
Modifier and Type | Method and Description |
---|---|
String |
getBuildKey() |
String |
getCustomRevision() |
String |
getName()
Gives the trigger reason
|
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence
eg.
|
String |
getTagName() |
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 |
setCustomRevision(String customRevision) |
void |
setTagName(String tagName) |
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_TAG_NAME
public static final String TRIGGER_CUSTOM_REVISION
public static final String BUILD_KEY
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 getTagName()
public void setTagName(String tagName)
public String getCustomRevision()
public void setCustomRevision(String customRevision)
public String getName()
TriggerReason
public String getNameForSentence()
TriggerReason
@Nullable public String getBuildKey()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.