public class PermissionVoterProviderModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PermissionVoterProvider>
PermissionVoterProvider
implementations.
Usage:
<permission-voter-provider
key="customPermissionVoterProvider"
class="com.example.bitbucket.internal.permission.DefaultPermissionVoterProvider"/>
The key
and class
attributes are required.Modifier and Type | Field and Description |
---|---|
static String |
XML_ELEMENT_NAME |
Constructor and Description |
---|
PermissionVoterProviderModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
disabled() |
PermissionVoterProvider |
getModule() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
assertModuleClassImplements, checkPermissions, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
public static final String XML_ELEMENT_NAME
public PermissionVoterProviderModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PermissionVoterProvider>
public PermissionVoterProvider getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<PermissionVoterProvider>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PermissionVoterProvider>
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<PermissionVoterProvider>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PermissionVoterProvider>
com.atlassian.plugin.PluginParseException
Copyright © 2020 Atlassian. All rights reserved.