public class EnvironmentDependencyTriggerReason extends AbstractTriggerReason implements TriggerReason
| Modifier and Type | Field and Description |
|---|---|
static String |
ENVIRONMENT_ID_KEY |
static String |
ENVIRONMENT_NAME_KEY |
static String |
KEY |
static String |
RESULT_ID_KEY |
PLUGIN_KEY, textProvider| Constructor and Description |
|---|
EnvironmentDependencyTriggerReason() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEnvironmentIdString() |
String |
getEnvironmentName() |
String |
getName()
Gives the trigger reason
|
String |
getNameForSentence()
Gives the trigger reason in a format that can be used in a sentence
eg.
|
String |
getResultIdString() |
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 |
setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
void |
updateCustomData(BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, setTextProvider, toString, updateIfValueNotNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildTriggerReason, getKeypublic static final String KEY
public static final String ENVIRONMENT_ID_KEY
public static final String ENVIRONMENT_NAME_KEY
public static final String RESULT_ID_KEY
public void init(String key, Map<String,String> fields)
TriggerReasonTriggerReason using data from the Mapinit in interface TriggerReasonpublic void init(String key, @NotNull ResultsSummary resultsSummary)
TriggerReasonTriggerReason using data from the ResultsSummaryinit in interface TriggerReasonpublic void updateCustomData(@NotNull
BambooCustomDataAware customDataAware)
TriggerReasonTriggerReason given a BambooCustomDataAwareupdateCustomData in interface TriggerReasonpublic String getName()
TriggerReasongetName in interface TriggerReasonpublic String getNameForSentence()
TriggerReasongetNameForSentence in interface TriggerReasonpublic void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
public String getEnvironmentIdString()
public String getEnvironmentName()
public String getResultIdString()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.