Class TagBuildTriggerReason
java.lang.Object
com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason
com.atlassian.bamboo.v2.build.trigger.TagBuildTriggerReason
- All Implemented Interfaces:
TriggerReason,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason
PLUGIN_KEY, TRIGGER_REASON_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetName()Gives the trigger reasonGives the trigger reason in a format that can be used in a sentence eg.voidinit(String key, @NotNull ResultsSummary resultsSummary) Initializes theTriggerReasonusing data from theResultsSummaryvoidInitializes theTriggerReasonusing data from theMapvoidsetCustomRevision(String customRevision) voidsetTagName(String tagName) voidupdateCustomData(@NotNull BambooCustomDataAware customDataAware) Updates theTriggerReasongiven aBambooCustomDataAwareMethods inherited from class com.atlassian.bamboo.v2.build.trigger.AbstractTriggerReason
getChildTriggerReason, getKey, init, toString, updateIfValueNotNull
-
Field Details
-
KEY
- See Also:
-
TRIGGER_TAG_NAME
- See Also:
-
TRIGGER_CUSTOM_REVISION
- See Also:
-
BUILD_KEY
- See Also:
-
-
Constructor Details
-
TagBuildTriggerReason
public TagBuildTriggerReason()
-
-
Method Details
-
init
Description copied from interface:TriggerReasonInitializes theTriggerReasonusing data from theMap -
init
Description copied from interface:TriggerReasonInitializes theTriggerReasonusing data from theResultsSummary -
updateCustomData
Description copied from interface:TriggerReasonUpdates theTriggerReasongiven aBambooCustomDataAware -
getTagName
-
setTagName
-
getCustomRevision
-
setCustomRevision
-
getName
Description copied from interface:TriggerReasonGives the trigger reason- Returns:
- {String} - the trigger reason
-
getNameForSentence
Description copied from interface:TriggerReasonGives the trigger reason in a format that can be used in a sentence eg. "was triggered at the scheduled time of 6:34 PM"- Returns:
- {String} - the trigger reason, must be HTML escaped.
-
getBuildKey
-