com.atlassian.confluence.plugin.descriptor
Class PathConverterModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PathConverter>
      extended by com.atlassian.confluence.plugin.descriptor.PathConverterModuleDescriptor
All Implemented Interfaces:
ModuleDescriptor<PathConverter>, Resourced, StateAware

public class PathConverterModuleDescriptor
extends AbstractModuleDescriptor<PathConverter>

A plugin module descriptor used to load path converter plugins. This descriptor will register the path converters with the manager as they are enabled, and remove them as they are disabled.


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
moduleClass, moduleClassName, moduleFactory, plugin, resources, singleton
 
Constructor Summary
PathConverterModuleDescriptor()
           
 
Method Summary
 void disabled()
           
 void enabled()
           
 PathConverter getModule()
           
 void init(Plugin plugin, Element element)
           
 void setPathConverterManager(PathConverterManager pathConverterManager)
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, 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

PathConverterModuleDescriptor

public PathConverterModuleDescriptor()
Method Detail

init

public void init(Plugin plugin,
                 Element element)
          throws PluginParseException
Specified by:
init in interface ModuleDescriptor<PathConverter>
Overrides:
init in class AbstractModuleDescriptor<PathConverter>
Throws:
PluginParseException

getModule

public PathConverter getModule()
Specified by:
getModule in interface ModuleDescriptor<PathConverter>
Specified by:
getModule in class AbstractModuleDescriptor<PathConverter>

enabled

public void enabled()
Specified by:
enabled in interface StateAware
Overrides:
enabled in class AbstractModuleDescriptor<PathConverter>

disabled

public void disabled()
Specified by:
disabled in interface StateAware
Overrides:
disabled in class AbstractModuleDescriptor<PathConverter>

setPathConverterManager

public void setPathConverterManager(PathConverterManager pathConverterManager)


Confluence is developed by Atlassian.