public class ProjectTemplateModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule> implements com.atlassian.plugin.web.descriptors.ConditionalDescriptor
Constructor and Description |
---|
ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.webresource.WebResourceUrlProvider urlProvider,
ResourceDescriptorFactory resourceDescriptorFactory,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
com.atlassian.plugin.web.descriptors.ConditionElementParser.ConditionFactory conditionFactory,
ConfigTemplateParser configTemplateParser) |
ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.webresource.WebResourceUrlProvider urlProvider,
ResourceDescriptorFactory resourceDescriptorFactory,
com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ConfigTemplateParser configTemplateParser) |
Modifier and Type | Method and Description |
---|---|
void |
addResource(String path,
String name) |
void |
disabled() |
void |
enabled() |
com.atlassian.plugin.web.Condition |
getCondition() |
ProjectTemplateModule |
getModule() |
protected AddProjectModuleBuilder |
getProjectTemplateModuleBuilder() |
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, hashCode, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
public ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.webresource.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ConfigTemplateParser configTemplateParser)
public ProjectTemplateModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.webresource.WebResourceUrlProvider urlProvider, ResourceDescriptorFactory resourceDescriptorFactory, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.atlassian.plugin.web.descriptors.ConditionElementParser.ConditionFactory conditionFactory, ConfigTemplateParser configTemplateParser)
public void init(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<ProjectTemplateModule>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
public ProjectTemplateModule getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<ProjectTemplateModule>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectTemplateModule>
@Nonnull public com.atlassian.plugin.web.Condition getCondition()
getCondition
in interface com.atlassian.plugin.web.descriptors.ConditionalDescriptor
protected AddProjectModuleBuilder getProjectTemplateModuleBuilder()
Copyright © 2002-2015 Atlassian. All Rights Reserved.