com.atlassian.bamboo.v2.build.trigger
Class AbstractTriggerReason
java.lang.Object
com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason
- All Implemented Interfaces:
- TriggerReason, Serializable
- Direct Known Subclasses:
- ChildDependencyTriggerReason, CodeChangedTriggerReason, DependencyTriggerReason, EnvironmentDependencyTriggerReason, InitialBuildTriggerReason, JIRAReleaseTriggerReason, ManualBuildTriggerReason, ScheduledTriggerReason, UnknownTriggerReason
public abstract class AbstractTriggerReason
- extends Object
- implements TriggerReason
- See Also:
- Serialized Form
PLUGIN_KEY
protected static final String PLUGIN_KEY
- See Also:
- Constant Field Values
textProvider
protected com.opensymphony.xwork2.TextProvider textProvider
AbstractTriggerReason
public AbstractTriggerReason()
getKey
public String getKey()
- Description copied from interface:
TriggerReason
- The
TriggerReason
key
- Specified by:
getKey
in interface TriggerReason
- Returns:
- key
getChildTriggerReason
@NotNull
public TriggerReason getChildTriggerReason(BuildContext child,
ImmutablePlan plan)
- Description copied from interface:
TriggerReason
- 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.
- Specified by:
getChildTriggerReason
in interface TriggerReason
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
init
protected void init(String key)
setTextProvider
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
updateIfValueNotNull
protected void updateIfValueNotNull(BambooCustomDataAware customDataAware,
String key,
String value)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.