com.atlassian.bamboo.plugin.web
Class BambooWebFragmentHelper

java.lang.Object
  extended by com.atlassian.bamboo.plugin.web.BambooWebFragmentHelper
All Implemented Interfaces:
com.atlassian.plugin.web.WebFragmentHelper

public class BambooWebFragmentHelper
extends java.lang.Object
implements com.atlassian.plugin.web.WebFragmentHelper


Field Summary
protected  TemplateRenderer templateRenderer
           
 
Constructor Summary
BambooWebFragmentHelper()
           
 
Method Summary
 java.lang.String getI18nValue(java.lang.String key, java.util.List arguments, java.util.Map context)
           
 java.lang.Object loadComponent(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.Condition loadCondition(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className, com.atlassian.plugin.Plugin plugin)
           
 java.lang.String renderVelocityFragment(java.lang.String fragment, java.util.Map context)
           
 void setTemplateRenderer(TemplateRenderer templateRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

templateRenderer

protected transient TemplateRenderer templateRenderer
Constructor Detail

BambooWebFragmentHelper

public BambooWebFragmentHelper()
Method Detail

setTemplateRenderer

public void setTemplateRenderer(TemplateRenderer templateRenderer)

loadComponent

public java.lang.Object loadComponent(java.lang.String className,
                                      com.atlassian.plugin.Plugin plugin)
                               throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

loadCondition

public com.atlassian.plugin.web.Condition loadCondition(java.lang.String className,
                                                        com.atlassian.plugin.Plugin plugin)
                                                 throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadCondition in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

loadContextProvider

public com.atlassian.plugin.web.ContextProvider loadContextProvider(java.lang.String className,
                                                                    com.atlassian.plugin.Plugin plugin)
                                                             throws com.atlassian.plugin.web.conditions.ConditionLoadingException
Specified by:
loadContextProvider in interface com.atlassian.plugin.web.WebFragmentHelper
Throws:
com.atlassian.plugin.web.conditions.ConditionLoadingException

getI18nValue

public java.lang.String getI18nValue(java.lang.String key,
                                     java.util.List arguments,
                                     java.util.Map context)
Specified by:
getI18nValue in interface com.atlassian.plugin.web.WebFragmentHelper

renderVelocityFragment

public java.lang.String renderVelocityFragment(java.lang.String fragment,
                                               java.util.Map context)
Specified by:
renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.