Package com.atlassian.bitbucket.hook
Class BaseScmHookModuleDescriptor<T>
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor<T>
com.atlassian.bitbucket.hook.BaseScmHookModuleDescriptor<T>
- Type Parameters:
T- the module type
- All Implemented Interfaces:
Weighted,com.atlassian.plugin.ModuleDescriptor<T>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware,Comparable<BaseWeightedModuleDescriptor<T>>
Base implementation for scm hook module descriptor.
-
Field Summary
FieldsFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resourcesFields inherited from interface com.atlassian.bitbucket.util.Weighted
COMPARABLE -
Constructor Summary
ConstructorsConstructorDescriptionBaseScmHookModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.scm.BaseWeightedModuleDescriptor
getWeight, initMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
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, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Field Details
-
module
-
-
Constructor Details
-
BaseScmHookModuleDescriptor
public BaseScmHookModuleDescriptor(@Nonnull com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<T>- Overrides:
compareToin classBaseWeightedModuleDescriptor<T>
-
getModule
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
disabled
public void disabled()- Specified by:
disabledin interfacecom.atlassian.plugin.StateAware- Overrides:
disabledin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-