Class UserFormatModuleDescriptorImpl
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<UserFormat>
com.atlassian.jira.plugin.userformat.descriptors.UserFormatModuleDescriptorImpl
- All Implemented Interfaces:
JiraResourcedModuleDescriptor<UserFormat>,UserFormatModuleDescriptor,com.atlassian.plugin.ModuleDescriptor<UserFormat>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class UserFormatModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<UserFormat>
implements UserFormatModuleDescriptor
- Since:
- v3.13
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionUserFormatModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoiddisabled()voidenabled()booleangetType()Gets the user format "type" that this descriptor applies to.Gets an i18n key to display a user friendly description for the type that this descriptor applies to.inthashCode()voidinit(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createModule, createVelocityParams, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getName, getText, getText, isResourceExist, writeHtmlMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, 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.jira.plugin.JiraResourcedModuleDescriptor
getHtml, getHtml, getI18nBean, writeHtmlMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, getCompleteKey, getDescription, getDescriptionKey, getDisplayName, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, isBroken, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion, setBrokenMethods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceLocationMethods inherited from interface com.atlassian.plugin.ScopeAware
getScopeKey
-
Constructor Details
-
UserFormatModuleDescriptorImpl
public UserFormatModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
init
public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException - Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<UserFormat>- Overrides:
initin classAbstractJiraModuleDescriptor<UserFormat>- Throws:
com.atlassian.plugin.PluginParseException
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classAbstractJiraModuleDescriptor<UserFormat>
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classAbstractJiraModuleDescriptor<UserFormat>
-
getType
Description copied from interface:UserFormatModuleDescriptorGets the user format "type" that this descriptor applies to.- Specified by:
getTypein interfaceUserFormatModuleDescriptor- Returns:
- The user format "type" for this descriptor.
-
getTypeI18nKey
Description copied from interface:UserFormatModuleDescriptorGets an i18n key to display a user friendly description for the type that this descriptor applies to.- Specified by:
getTypeI18nKeyin interfaceUserFormatModuleDescriptor- Returns:
- An i18n key to display a user friendly description for the type.
-
getModule
- Specified by:
getModulein interfacecom.atlassian.plugin.ModuleDescriptor<UserFormat>- Overrides:
getModulein classAbstractJiraModuleDescriptor<UserFormat>
-
equals
- Specified by:
equalsin interfacecom.atlassian.plugin.ModuleDescriptor<UserFormat>- Overrides:
equalsin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<UserFormat>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.atlassian.plugin.ModuleDescriptor<UserFormat>- Overrides:
hashCodein classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<UserFormat>
-