com.atlassian.jira.plugin
Class MockJiraResourcedModuleDescriptor<T>

java.lang.Object
  extended by com.atlassian.jira.mock.plugin.MockModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.MockJiraResourcedModuleDescriptor<T>
All Implemented Interfaces:
JiraResourcedModuleDescriptor<T>, com.atlassian.plugin.ModuleDescriptor<T>, com.atlassian.plugin.Resourced
Direct Known Subclasses:
MockLanguageModuleDescriptor

public abstract class MockJiraResourcedModuleDescriptor<T>
extends MockModuleDescriptor<T>
implements JiraResourcedModuleDescriptor<T>

Since:
v6.2.3

Constructor Summary
MockJiraResourcedModuleDescriptor(Class<T> type)
           
MockJiraResourcedModuleDescriptor(Class<T> type, com.atlassian.plugin.Plugin plugin, String key)
           
 
Method Summary
 String getHtml(String resourceName)
           
 String getHtml(String resourceName, Map<String,?> startingParams)
           
 I18nHelper getI18nBean()
           
 void writeHtml(String resourceName, Map<String,?> startingParams, Writer writer)
           
 
Methods inherited from class com.atlassian.jira.mock.plugin.MockModuleDescriptor
createHelpResource, createI18nResource, destroy, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setKey, setPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Constructor Detail

MockJiraResourcedModuleDescriptor

public MockJiraResourcedModuleDescriptor(Class<T> type)

MockJiraResourcedModuleDescriptor

public MockJiraResourcedModuleDescriptor(Class<T> type,
                                         com.atlassian.plugin.Plugin plugin,
                                         String key)
Method Detail

getI18nBean

public I18nHelper getI18nBean()
Specified by:
getI18nBean in interface JiraResourcedModuleDescriptor<T>

getHtml

public String getHtml(String resourceName)
Specified by:
getHtml in interface JiraResourcedModuleDescriptor<T>

getHtml

public String getHtml(String resourceName,
                      Map<String,?> startingParams)
Specified by:
getHtml in interface JiraResourcedModuleDescriptor<T>

writeHtml

public void writeHtml(String resourceName,
                      Map<String,?> startingParams,
                      Writer writer)
               throws IOException
Specified by:
writeHtml in interface JiraResourcedModuleDescriptor<T>
Throws:
IOException


Copyright © 2002-2014 Atlassian. All Rights Reserved.