public class

PermissionVoterProviderModuleDescriptor

extends AbstractModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.bitbucket.permission.PermissionVoterProviderModuleDescriptor

Class Overview

Module descriptor for providing PermissionVoterProvider implementations.

Usage:


     <permission-voter-provider
              key="customPermissionVoterProvider"
              class="com.example.bitbucket.internal.permission.DefaultPermissionVoterProvider"/>
 
The key and class attributes are required.

Summary

Constants
String XML_ELEMENT_NAME
[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
PermissionVoterProviderModuleDescriptor(ModuleFactory moduleFactory)
Public Methods
void disabled()
PermissionVoterProvider getModule()
void init(Plugin plugin, Element element)
[Expand]
Inherited Methods
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.ScopeAware
From interface com.atlassian.plugin.StateAware

Constants

public static final String XML_ELEMENT_NAME

Constant Value: "permission-voter-provider"

Public Constructors

public PermissionVoterProviderModuleDescriptor (ModuleFactory moduleFactory)

Public Methods

public void disabled ()

public PermissionVoterProvider getModule ()

public void init (Plugin plugin, Element element)

Throws
PluginParseException