Package com.atlassian.bitbucket.scm
Class ScmUrlFormatterModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmUrlFormatter>
com.atlassian.bitbucket.scm.ScmUrlFormatterModuleDescriptor
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<ScmUrlFormatter>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
public class ScmUrlFormatterModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmUrlFormatter>
Parses the nested
url-formatter
element, when present, to produce an ScmUrlFormatter
.-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
-
Constructor Summary
ConstructorDescriptionScmUrlFormatterModuleDescriptor
(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
validate
(com.atlassian.plugin.module.Element element) Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Constructor Details
-
ScmUrlFormatterModuleDescriptor
public ScmUrlFormatterModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
getModule
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<ScmUrlFormatter>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmUrlFormatter>
-
validate
protected void validate(com.atlassian.plugin.module.Element element) - Overrides:
validate
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<ScmUrlFormatter>
-