com.atlassian.confluence.content
Class ContentTypeModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
      extended by com.atlassian.confluence.content.ContentTypeModuleDescriptor
All Implemented Interfaces:
PluginModuleFactory<ContentType>, com.atlassian.plugin.ModuleDescriptor<ContentType>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class ContentTypeModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
implements PluginModuleFactory<ContentType>

Module descriptor for pluggable content types.


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
ContentTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 ContentType createModule()
           
 void disabled()
           
 void enabled()
           
 ContentType getModule()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentTypeModuleDescriptor

public ContentTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

init

public void init(@NotNull
                 com.atlassian.plugin.Plugin plugin,
                 @NotNull
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<ContentType>
Overrides:
init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>
Throws:
com.atlassian.plugin.PluginParseException

enabled

public void enabled()
Specified by:
enabled in interface com.atlassian.plugin.StateAware
Overrides:
enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>

disabled

public void disabled()
Specified by:
disabled in interface com.atlassian.plugin.StateAware
Overrides:
disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>

getModule

public ContentType getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor<ContentType>
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ContentType>

createModule

public ContentType createModule()
Specified by:
createModule in interface PluginModuleFactory<ContentType>


Copyright © 2003-2014 Atlassian. All Rights Reserved.