public class ContentTypeModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType> implements PluginModuleFactory<ContentType>
Constructor and Description |
---|
ContentTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
ApiSupportProvider apiSupportProvider) |
Modifier and Type | Method and Description |
---|---|
ContentType |
createModule() |
void |
disabled() |
void |
enabled() |
String |
getContentType()
Get content type.
|
ContentType |
getModule() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
public ContentTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, ApiSupportProvider apiSupportProvider)
public void init(@Nonnull com.atlassian.plugin.Plugin plugin, @Nonnull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<ContentType>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
public ContentType getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<ContentType>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
public ContentType createModule()
createModule
in interface PluginModuleFactory<ContentType>
public String getContentType()
Copyright © 2003–2017 Atlassian. All rights reserved.