com.atlassian.bamboo.v2.build.trigger
Class AbstractTriggerReason
java.lang.Object
com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason
- All Implemented Interfaces:
- TriggerReason, java.io.Serializable
- Direct Known Subclasses:
- ChildDependencyTriggerReason, CodeChangedTriggerReason, DependencyTriggerReason, InitialBuildTriggerReason, JIRAReleaseTriggerReason, ManualBuildTriggerReason, ScheduledTriggerReason, UnknownTriggerReason
public abstract class AbstractTriggerReason
- extends java.lang.Object
- implements TriggerReason
- See Also:
- Serialized Form
Field Summary |
protected static java.lang.String |
PLUGIN_KEY
|
protected com.opensymphony.xwork.TextProvider |
textProvider
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PLUGIN_KEY
protected static final java.lang.String PLUGIN_KEY
- See Also:
- Constant Field Values
textProvider
protected com.opensymphony.xwork.TextProvider textProvider
AbstractTriggerReason
public AbstractTriggerReason()
getKey
public java.lang.String getKey()
- Description copied from interface:
TriggerReason
- The
TriggerReason
key
- Specified by:
getKey
in interface TriggerReason
- Returns:
- key
init
protected void init(java.lang.String key)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setTextProvider
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
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:
Copyright © 2012 Atlassian. All Rights Reserved.