Constructor and Description |
---|
LanguageModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
void |
enabled() |
String |
getCountry() |
String |
getEncoding() |
String |
getLanguage() |
Language |
getModule() |
String |
getVariant() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
Initialises the LanguageModuleDescriptor
|
void |
setCountry(String country) |
void |
setEncoding(String encoding) |
void |
setLanguage(String language) |
void |
setVariant(String variant) |
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
public LanguageModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Language>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
plugin
- The Plugin the ModuleDescriptor belongs toelement
- The XML Document to be parsedcom.atlassian.plugin.PluginParseException
- if language is nullpublic Language getModule()
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Language>
public String getEncoding()
public void setEncoding(String encoding)
public String getLanguage()
public void setLanguage(String language)
public String getCountry()
public void setCountry(String country)
public String getVariant()
public void setVariant(String variant)
Copyright © 2003–2019 Atlassian. All rights reserved.