com.atlassian.bamboo.v2.build.trigger
Class DefaultTriggerReasonRenderer

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.trigger.DefaultTriggerReasonRenderer
All Implemented Interfaces:
TriggerReasonRenderer
Direct Known Subclasses:
CodeChangedTriggerReasonRenderer, ManualTriggerReasonRenderer

public class DefaultTriggerReasonRenderer
extends Object
implements TriggerReasonRenderer


Field Summary
protected  TriggerReasonModuleDescriptor moduleDescriptor
           
protected  TriggerReason triggerReason
           
 
Constructor Summary
DefaultTriggerReasonRenderer()
           
 
Method Summary
protected  Map<String,Object> getContextParams()
           
 String getLongDescriptionHtml()
           
 String getLongDescriptionText()
           
 String getShortDescriptionHtml()
           
 String getShortDescriptionText()
           
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason)
           
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason, CurrentlyBuilding currentlyBuilding)
           
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason, ResultsSummary buildResultsSummary)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moduleDescriptor

protected TriggerReasonModuleDescriptor moduleDescriptor

triggerReason

protected TriggerReason triggerReason
Constructor Detail

DefaultTriggerReasonRenderer

public DefaultTriggerReasonRenderer()
Method Detail

init

public void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
                 TriggerReason triggerReason,
                 ResultsSummary buildResultsSummary)
Specified by:
init in interface TriggerReasonRenderer

init

public void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
                 TriggerReason triggerReason,
                 CurrentlyBuilding currentlyBuilding)
Specified by:
init in interface TriggerReasonRenderer

getShortDescriptionHtml

public String getShortDescriptionHtml()
Specified by:
getShortDescriptionHtml in interface TriggerReasonRenderer

getLongDescriptionHtml

public String getLongDescriptionHtml()
Specified by:
getLongDescriptionHtml in interface TriggerReasonRenderer

getShortDescriptionText

public String getShortDescriptionText()
Specified by:
getShortDescriptionText in interface TriggerReasonRenderer

getLongDescriptionText

public String getLongDescriptionText()
Specified by:
getLongDescriptionText in interface TriggerReasonRenderer

getContextParams

@NotNull
protected Map<String,Object> getContextParams()

init

public void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
                 TriggerReason triggerReason)
Specified by:
init in interface TriggerReasonRenderer

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.