public abstract class AbstractTriggerReason extends Object implements TriggerReason
Modifier and Type | Field and Description |
---|---|
protected static String |
PLUGIN_KEY |
protected com.opensymphony.xwork2.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.opensymphony.xwork2.TextProvider textProvider) |
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.opensymphony.xwork2.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)
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
protected void updateIfValueNotNull(BambooCustomDataAware customDataAware, String key, String value)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.