public class RerunBuildTriggerReason extends ManualBuildTriggerReason implements TriggerReason
Modifier and Type | Field and Description |
---|---|
static String |
KEY |
static String |
NUMBER_OF_RETRIES |
TRIGGER_MANUAL_STAGE, TRIGGER_MANUAL_USER
PLUGIN_KEY, textProvider
Constructor and Description |
---|
RerunBuildTriggerReason() |
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.
|
Integer |
getNumberOfRetries() |
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 |
setNumberOfRetries(Integer numberOfRetries) |
void |
updateCustomData(BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getStageName, getUserName, setStageName, setUserName
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildTriggerReason, getKey
public static final String KEY
public static final String NUMBER_OF_RETRIES
public String getName()
TriggerReason
getName
in interface TriggerReason
getName
in class ManualBuildTriggerReason
public String getNameForSentence()
TriggerReason
getNameForSentence
in interface TriggerReason
getNameForSentence
in class ManualBuildTriggerReason
public void init(String key, Map<String,String> fields)
TriggerReason
TriggerReason
using data from the Map
init
in interface TriggerReason
init
in class ManualBuildTriggerReason
public void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReason
TriggerReason
using data from the ResultsSummary
init
in interface TriggerReason
init
in class ManualBuildTriggerReason
public void updateCustomData(@NotNull BambooCustomDataAware customDataAware)
TriggerReason
TriggerReason
given a BambooCustomDataAware
updateCustomData
in interface TriggerReason
updateCustomData
in class ManualBuildTriggerReason
public Integer getNumberOfRetries()
public void setNumberOfRetries(Integer numberOfRetries)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.