public class ProjectPermissionModuleDescriptorImpl extends AbstractJiraModuleDescriptor<ProjectPermission> implements ProjectPermissionModuleDescriptor
Constructor and Description |
---|
ProjectPermissionModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.module.ModuleFactory moduleFactory,
ConditionDescriptorFactory conditionDescriptorFactory) |
Modifier and Type | Method and Description |
---|---|
protected ProjectPermission |
createModule()
Creates an instance of the Module.
|
void |
enabled() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
protected void |
provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern) |
static Collection<ProjectPermissionKey> |
systemProjectPermissionKeys() |
assertResourceExists, createVelocityParams, disabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabled, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, satisfiesMinJavaVersion, setPlugin, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabled, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
public ProjectPermissionModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory, ConditionDescriptorFactory conditionDescriptorFactory)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<ProjectPermission>
init
in class AbstractJiraModuleDescriptor<ProjectPermission>
com.atlassian.plugin.PluginParseException
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class AbstractJiraModuleDescriptor<ProjectPermission>
protected void provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern)
provideValidationRules
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<ProjectPermission>
public static Collection<ProjectPermissionKey> systemProjectPermissionKeys()
protected ProjectPermission createModule()
AbstractJiraModuleDescriptor
This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.
createModule
in class AbstractJiraModuleDescriptor<ProjectPermission>
Copyright © 2002-2015 Atlassian. All Rights Reserved.