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 java.lang.Object
implements TriggerReasonRenderer


Field Summary
protected  TriggerReasonModuleDescriptor moduleDescriptor
           
protected  TriggerReason triggerReason
           
 
Constructor Summary
DefaultTriggerReasonRenderer()
           
 
Method Summary
protected  java.util.Map getContextParams()
           
 java.lang.String getLongDescriptionHtml()
           
 java.lang.String getLongDescriptionText()
           
 java.lang.String getShortDescriptionHtml()
           
 java.lang.String getShortDescriptionText()
           
protected  void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason)
           
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason, BuildResultsSummary buildResultsSummary)
           
 void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor, TriggerReason triggerReason, CurrentlyBuilding currentlyBuilding)
           
 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,
                 BuildResultsSummary 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 java.lang.String getShortDescriptionHtml()
Specified by:
getShortDescriptionHtml in interface TriggerReasonRenderer

getLongDescriptionHtml

public java.lang.String getLongDescriptionHtml()
Specified by:
getLongDescriptionHtml in interface TriggerReasonRenderer

getShortDescriptionText

public java.lang.String getShortDescriptionText()
Specified by:
getShortDescriptionText in interface TriggerReasonRenderer

getLongDescriptionText

public java.lang.String getLongDescriptionText()
Specified by:
getLongDescriptionText in interface TriggerReasonRenderer

getContextParams

protected java.util.Map getContextParams()

init

protected void init(com.atlassian.plugin.ModuleDescriptor moduleDescriptor,
                    TriggerReason triggerReason)

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)


Copyright © 2010 Atlassian. All Rights Reserved.