Package com.atlassian.bitbucket.user
Class UserErasureModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor<UserErasureHandler>
com.atlassian.bitbucket.user.UserErasureModuleDescriptor
- All Implemented Interfaces:
Weighted
,com.atlassian.plugin.ModuleDescriptor<UserErasureHandler>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,Comparable<BaseWeightedModuleDescriptor<UserErasureHandler>>
Module Descriptor for providing
user erasure handlers
.
Usage example:
<user-erasure-handler key="my-user-erasure-handler" class="com.example.bitbucket.MyUserErasureHandler" weight="120" />
- Since:
- 5.16
- See Also:
-
UserAdminService.eraseUser(String)
UserErasureHandler
-
Field Summary
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
Fields inherited from interface com.atlassian.bitbucket.util.Weighted
COMPARABLE
-
Constructor Summary
ConstructorDescriptionUserErasureModuleDescriptor
(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor
compareTo, getWeight, init
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
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, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Field Details
-
XML_ELEMENT_NAME
- See Also:
-
-
Constructor Details
-
UserErasureModuleDescriptor
public UserErasureModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
disabled
public void disabled()- Specified by:
disabled
in interfacecom.atlassian.plugin.StateAware
- Overrides:
disabled
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<UserErasureHandler>
-
getModule
- Specified by:
getModule
in interfacecom.atlassian.plugin.ModuleDescriptor<UserErasureHandler>
- Specified by:
getModule
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<UserErasureHandler>
-