com.atlassian.jira.plugin.comment
Class CommentFieldRendererModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor<Void>
          extended by com.atlassian.jira.plugin.comment.CommentFieldRendererModuleDescriptorImpl
All Implemented Interfaces:
CommentFieldRendererModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<Void>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, com.atlassian.plugin.web.descriptors.ConditionalDescriptor, com.atlassian.plugin.web.descriptors.ContextAware, com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor<Void>, com.atlassian.plugin.web.descriptors.WeightedDescriptor

public class CommentFieldRendererModuleDescriptorImpl
extends com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor<Void>
implements CommentFieldRendererModuleDescriptor


Field Summary
 
Fields inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
condition, contextProvider, element, label, params, tooltip, webInterfaceManager, weight
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, singleton
 
Fields inherited from interface com.atlassian.jira.plugin.comment.CommentFieldRendererModuleDescriptor
TEMPLATE_NAME_EDIT, TEMPLATE_NAME_ISSUE_EDIT, TEMPLATE_NAME_ISSUE_VIEW, TEMPLATE_NAME_VIEW
 
Constructor Summary
CommentFieldRendererModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, VelocityTemplatingEngine velocityTemplatingEngine)
           
 
Method Summary
 com.atlassian.fugue.Option<String> getFieldEditHtml(Map<String,Object> context)
           
 com.atlassian.fugue.Option<String> getFieldViewHtml(Map<String,Object> context)
           
 com.atlassian.fugue.Option<String> getIssuePageEditHtml(Map<String,Object> context)
           
 com.atlassian.fugue.Option<String> getIssuePageViewHtml(Map<String,Object> context)
           
 Void getModule()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
disabled, enabled, equals, getCondition, getContextProvider, getTooltip, getWebLabel, getWebParams, getWeight, hashCode, makeCondition, makeConditions, makeConditions, makeContextProvider, setWebInterfaceManager
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor
getCondition, getTooltip, getWebLabel, getWebParams, getWeight
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 
Methods inherited from interface com.atlassian.plugin.StateAware
disabled, enabled
 
Methods inherited from interface com.atlassian.plugin.web.descriptors.ContextAware
getContextProvider
 

Constructor Detail

CommentFieldRendererModuleDescriptorImpl

public CommentFieldRendererModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory,
                                                com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
                                                VelocityTemplatingEngine velocityTemplatingEngine)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<Void>
Overrides:
init in class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor<Void>
Throws:
com.atlassian.plugin.PluginParseException

getFieldEditHtml

public com.atlassian.fugue.Option<String> getFieldEditHtml(Map<String,Object> context)
Specified by:
getFieldEditHtml in interface CommentFieldRendererModuleDescriptor

getFieldViewHtml

public com.atlassian.fugue.Option<String> getFieldViewHtml(Map<String,Object> context)
Specified by:
getFieldViewHtml in interface CommentFieldRendererModuleDescriptor

getIssuePageEditHtml

public com.atlassian.fugue.Option<String> getIssuePageEditHtml(Map<String,Object> context)
Specified by:
getIssuePageEditHtml in interface CommentFieldRendererModuleDescriptor

getIssuePageViewHtml

public com.atlassian.fugue.Option<String> getIssuePageViewHtml(Map<String,Object> context)
Specified by:
getIssuePageViewHtml in interface CommentFieldRendererModuleDescriptor

getModule

public Void getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor<Void>
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Void>


Copyright © 2002-2014 Atlassian. All Rights Reserved.