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
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,
@NotNull ResultsSummary resultsSummary)
Initializes the
TriggerReason using data from the ResultsSummary |
void |
setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
void |
updateCustomData(@NotNull BambooCustomDataAware customDataAware)
Updates the
TriggerReason given a BambooCustomDataAware |
getChildTriggerReason, getKey, init, toString, updateIfValueNotNull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildTriggerReason, getKey
public 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)
TriggerReason
TriggerReason
using data from the Map
init
in interface TriggerReason
public void init(String key, @NotNull @NotNull ResultsSummary resultsSummary)
TriggerReason
TriggerReason
using data from the ResultsSummary
init
in interface TriggerReason
public void updateCustomData(@NotNull @NotNull BambooCustomDataAware customDataAware)
TriggerReason
TriggerReason
given a BambooCustomDataAware
updateCustomData
in interface TriggerReason
public String getName()
TriggerReason
getName
in interface TriggerReason
public String getNameForSentence()
TriggerReason
getNameForSentence
in interface TriggerReason
public void setI18nResolver(com.atlassian.sal.api.message.I18nResolver i18nResolver)
public String getEnvironmentIdString()
public String getEnvironmentName()
public String getResultIdString()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.