public abstract class AbstractTriggerReason extends Object implements TriggerReason
Modifier and Type | Field and Description |
---|---|
protected static String |
PLUGIN_KEY |
protected com.atlassian.struts.TextProvider |
textProvider
Deprecated.
since 5.10 inject it yourself
|
Constructor and Description |
---|
AbstractTriggerReason() |
Modifier and Type | Method and Description |
---|---|
TriggerReason |
getChildTriggerReason(BuildContext child,
ImmutablePlan plan)
If build A (triggered because of this TriggerReason) caused builds of plans X,Y,Z to trigger,
this method will be called to determine trigger reasons for plans X, Y, Z.
|
String |
getKey()
The
TriggerReason key |
protected void |
init(String key) |
void |
setTextProvider(com.atlassian.struts.TextProvider textProvider)
Deprecated.
since 6.8 use constructor injection or annotation injection
|
String |
toString() |
protected void |
updateIfValueNotNull(BambooCustomDataAware customDataAware,
String key,
String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getNameForSentence, init, init, updateCustomData
protected static final String PLUGIN_KEY
@Deprecated protected transient com.atlassian.struts.TextProvider textProvider
public String getKey()
TriggerReason
TriggerReason
keygetKey
in interface TriggerReason
@NotNull public TriggerReason getChildTriggerReason(BuildContext child, ImmutablePlan plan)
TriggerReason
getChildTriggerReason
in interface TriggerReason
protected void init(String key)
protected void updateIfValueNotNull(BambooCustomDataAware customDataAware, String key, String value)
@Deprecated public void setTextProvider(com.atlassian.struts.TextProvider textProvider)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.