Class Overview
Module descriptor of the language pack plugin point.
Summary
[Expand]
Inherited Fields |
From class
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
|
[Expand]
Inherited Methods |
From class
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
void
|
assertResourceExists(String type, String name)
|
T
|
createModule()
Creates an instance of the Module.
|
Map<String, Object>
|
createVelocityParams(Map<String, Object> startingParams)
|
void
|
disabled()
|
void
|
enabled()
|
JiraAuthenticationContext
|
getAuthenticationContext()
|
ClassLoader
|
getClassLoader()
|
String
|
getDescription()
|
String
|
getHtml(String resourceName, Map<String, ?> startingParams)
|
String
|
getHtml(String resourceName)
|
I18nHelper
|
getI18nBean()
|
T
|
getModule()
|
String
|
getName()
|
String
|
getText(String key, Object params)
|
@Deprecated
String
|
getText(String key)
This method is deprecated.
Please use i18nBean.getText() instead. Since 5.0
|
void
|
init(Plugin plugin, Element element)
|
boolean
|
isResourceExist(String resourceName)
|
void
|
writeHtml(String resourceName, Map<String, ?> startingParams, Writer writer)
|
|
From class
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.plugin.JiraResourcedModuleDescriptor
|
From interface
com.atlassian.jira.plugin.language.LanguageModuleDescriptor
|
From interface
com.atlassian.plugin.ModuleDescriptor
void
|
destroy()
|
void
|
destroy(Plugin arg0)
|
boolean
|
equals(Object arg0)
|
String
|
getCompleteKey()
|
String
|
getDescription()
|
String
|
getDescriptionKey()
|
String
|
getI18nNameKey()
|
String
|
getKey()
|
Float
|
getMinJavaVersion()
|
T
|
getModule()
|
Class<T>
|
getModuleClass()
|
String
|
getName()
|
Map<String, String>
|
getParams()
|
Plugin
|
getPlugin()
|
String
|
getPluginKey()
|
int
|
hashCode()
|
void
|
init(Plugin arg0, Element arg1)
|
boolean
|
isEnabledByDefault()
|
boolean
|
isSystemModule()
|
boolean
|
satisfiesMinJavaVersion()
|
|
From interface
com.atlassian.plugin.Resourced
|
From interface
com.atlassian.plugin.StateAware
void
|
disabled()
|
void
|
enabled()
|
|
Public Constructors
Public Methods
public
String
getResourceBundleName
()
public
void
init
(Plugin plugin, Element element)
Initialises the LanguageModuleDescriptor
Parameters
plugin
| The Plugin the ModuleDescriptor belongs to |
element
| The XML Document to be parsed |
public
void
setCountry
(String country)
public
void
setEncoding
(String encoding)
public
void
setLanguage
(String language)
public
void
setVariant
(String variant)
Protected Methods
protected
Language
createModule
()
Creates an instance of the Module.
This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to
customize how the Module class is instantiated.
Returns
- a new instance of the module.