public abstract class AbstractTriggerReason extends Object implements TriggerReason
Modifier and Type | Field and Description |
---|---|
protected static String |
PLUGIN_KEY |
Constructor and Description |
---|
AbstractTriggerReason() |
Modifier and Type | Method and Description |
---|---|
@NotNull 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) |
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
public String getKey()
TriggerReason
TriggerReason
keygetKey
in interface TriggerReason
@NotNull public @NotNull 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)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.