Class CommentFieldRendererModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor<Void>
com.atlassian.jira.plugin.comment.CommentFieldRendererModuleDescriptorImpl
- All Implemented Interfaces:
CommentFieldRendererModuleDescriptor,com.atlassian.plugin.ModuleDescriptor<Void>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,com.atlassian.plugin.web.api.descriptors.ConditionalDescriptor,com.atlassian.plugin.web.api.descriptors.ContextAware,com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor<Void>,com.atlassian.plugin.web.api.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, label, tooltip, webInterfaceManager, weightFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, pluginFields inherited from interface com.atlassian.jira.plugin.comment.CommentFieldRendererModuleDescriptor
TEMPLATE_NAME_EDIT, TEMPLATE_NAME_HEADER_VIEW, TEMPLATE_NAME_ISSUE_EDIT, TEMPLATE_NAME_ISSUE_VIEW, TEMPLATE_NAME_VIEW -
Constructor Summary
ConstructorsConstructorDescriptionCommentFieldRendererModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, VelocityTemplatingEngine velocityTemplatingEngine) -
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Option<String>getFieldEditHtml(Map<String, Object> context) io.atlassian.fugue.Option<String>getFieldViewHtml(Map<String, Object> context) io.atlassian.fugue.Option<String>getHeaderViewHtml(Map<String, Object> context) io.atlassian.fugue.Option<String>getIssuePageEditHtml(Map<String, Object> context) io.atlassian.fugue.Option<String>getIssuePageViewHtml(Map<String, Object> context) voidinit(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor
buildCondition, buildConditions, buildConditions, buildContextProvider, disabled, enabled, equals, getCondition, getContextProvider, getTooltip, getWebLabel, getWeight, hashCode, setWebInterfaceManagerMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.web.api.descriptors.ContextAware
getContextProviderMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKeyMethods inherited from interface com.atlassian.plugin.StateAware
disabled, enabledMethods inherited from interface com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor
getCondition, getWeight
-
Constructor Details
-
CommentFieldRendererModuleDescriptorImpl
public CommentFieldRendererModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, VelocityTemplatingEngine velocityTemplatingEngine)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException -
getFieldEditHtml
- Specified by:
getFieldEditHtmlin interfaceCommentFieldRendererModuleDescriptor
-
getFieldViewHtml
- Specified by:
getFieldViewHtmlin interfaceCommentFieldRendererModuleDescriptor
-
getIssuePageEditHtml
- Specified by:
getIssuePageEditHtmlin interfaceCommentFieldRendererModuleDescriptor
-
getIssuePageViewHtml
- Specified by:
getIssuePageViewHtmlin interfaceCommentFieldRendererModuleDescriptor
-
getHeaderViewHtml
- Specified by:
getHeaderViewHtmlin interfaceCommentFieldRendererModuleDescriptor
-
getModule
-