CommitPropertyConfigurationModuleDescriptor
for a replacement
module descriptor for providing commit properties on commit enrichment.@Deprecated public class CommitPropertyProviderModuleDescriptor extends BaseWeightedModuleDescriptor<CommitPropertyProvider>
CommitPropertyProvider
implementation used by the CommitEnricher
.
Usage example:
<commit-property-provider key="gpgCommitPropertyProvider" class="bean:gpgSignaturePropertyProvider" />
Modifier and Type | Field and Description |
---|---|
static String |
XML_ELEMENT_NAME
Deprecated.
|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
COMPARABLE
Constructor and Description |
---|
CommitPropertyProviderModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
disabled()
Deprecated.
|
void |
enabled()
Deprecated.
|
CommitPropertyProvider |
getModule()
Deprecated.
Retrieve the
module for this descriptor. |
protected void |
provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern)
Deprecated.
|
compareTo, getWeight, init
assertModuleClassImplements, checkPermissions, destroy, 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
public static final String XML_ELEMENT_NAME
public CommitPropertyProviderModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CommitPropertyProvider>
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CommitPropertyProvider>
public CommitPropertyProvider getModule()
module
for this descriptor.
The described module is cached for the lifecycle of its plugin. Implementations of
CommitPropertyProvider
should be stateless and thread-safe as a single instance will be
returned to all consumers of the descriptor.
getModule
in interface com.atlassian.plugin.ModuleDescriptor<CommitPropertyProvider>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CommitPropertyProvider>
protected void provideValidationRules(com.atlassian.plugin.util.validation.ValidationPattern pattern)
provideValidationRules
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<CommitPropertyProvider>
Copyright © 2024 Atlassian. All rights reserved.