Class NotificationRecipientModuleDescriptor
- java.lang.Object
-
- com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
-
- com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<NotificationRecipient>
-
- com.atlassian.bamboo.plugin.descriptor.NotificationRecipientModuleDescriptor
-
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<NotificationRecipient>
,com.atlassian.plugin.Resourced
,com.atlassian.plugin.ScopeAware
,com.atlassian.plugin.StateAware
,com.atlassian.plugin.web.descriptors.WeightedDescriptor
public class NotificationRecipientModuleDescriptor extends AbstractBambooModuleDescriptor<NotificationRecipient> implements com.atlassian.plugin.web.descriptors.WeightedDescriptor
-
-
Constructor Summary
Constructors Constructor Description NotificationRecipientModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getEditTemplate()
NotificationRecipientExporter
getExporter()
Set<NotificationRecipient.Scope>
getScopes()
@Nullable String
getViewTemplate()
int
getWeight()
void
init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
protected void
postInit(NotificationRecipient module)
Called during module initialization afterInitablePluginModule.init(com.atlassian.plugin.ModuleDescriptor)
is called on module.-
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, isMutable, preInit
-
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, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
-
-
-
-
Method Detail
-
init
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.ModuleDescriptor<NotificationRecipient>
- Overrides:
init
in classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<NotificationRecipient>
- Throws:
com.atlassian.plugin.PluginParseException
-
postInit
protected void postInit(NotificationRecipient module)
Description copied from class:AbstractBambooModuleDescriptor
Called during module initialization afterInitablePluginModule.init(com.atlassian.plugin.ModuleDescriptor)
is called on module.- Overrides:
postInit
in classAbstractBambooModuleDescriptor<NotificationRecipient>
- Parameters:
module
- module to initialize
-
getEditTemplate
@Nullable public @Nullable String getEditTemplate()
-
getViewTemplate
@Nullable public @Nullable String getViewTemplate()
-
getWeight
public int getWeight()
- Specified by:
getWeight
in interfacecom.atlassian.plugin.web.descriptors.WeightedDescriptor
-
getExporter
public NotificationRecipientExporter getExporter()
-
getScopes
public Set<NotificationRecipient.Scope> getScopes()
-
-