public abstract class MockJiraResourcedModuleDescriptor<T> extends MockModuleDescriptor<T> implements JiraResourcedModuleDescriptor<T>
Constructor and Description |
---|
MockJiraResourcedModuleDescriptor(Class<T> type) |
MockJiraResourcedModuleDescriptor(Class<T> type,
com.atlassian.plugin.Plugin plugin,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
getHtml(String resourceName) |
String |
getHtml(String resourceName,
Map<String,?> startingParams) |
I18nHelper |
getI18nBean() |
boolean |
isEnabled() |
void |
writeHtml(String resourceName,
Map<String,?> startingParams,
Writer writer) |
createHelpResource, createI18nResource, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceLocation, init, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setKey, setPlugin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, init, isBroken, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBroken
public I18nHelper getI18nBean()
getI18nBean
in interface JiraResourcedModuleDescriptor<T>
public String getHtml(String resourceName)
getHtml
in interface JiraResourcedModuleDescriptor<T>
public String getHtml(String resourceName, Map<String,?> startingParams)
getHtml
in interface JiraResourcedModuleDescriptor<T>
public void writeHtml(String resourceName, Map<String,?> startingParams, Writer writer) throws IOException
writeHtml
in interface JiraResourcedModuleDescriptor<T>
IOException
public boolean isEnabled()
isEnabled
in interface com.atlassian.plugin.ModuleDescriptor<T>
Copyright © 2002-2021 Atlassian. All Rights Reserved.