Class NotificationTypeModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<NotificationType>
com.atlassian.bamboo.plugin.descriptor.NotificationTypeModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<NotificationType>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware, com.atlassian.plugin.web.api.descriptors.WeightedDescriptor

public class NotificationTypeModuleDescriptor extends AbstractBambooModuleDescriptor<NotificationType> implements com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
  • Constructor Details

    • NotificationTypeModuleDescriptor

      public NotificationTypeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, PluginAwareOgnlAllowlistManager pluginAwareOgnlAllowlistManager)
  • Method Details

    • init

      public void init(com.atlassian.plugin.Plugin plugin, com.atlassian.plugin.module.Element element) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.ModuleDescriptor<NotificationType>
      Overrides:
      init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<NotificationType>
      Throws:
      com.atlassian.plugin.PluginParseException
    • enabled

      public void enabled()
      Specified by:
      enabled in interface com.atlassian.plugin.StateAware
      Overrides:
      enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<NotificationType>
    • getNotificationTypeClassName

      public String getNotificationTypeClassName()
    • getModule

      public NotificationType getModule()
      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<NotificationType>
      Overrides:
      getModule in class AbstractBambooModuleDescriptor<NotificationType>
    • getEditTemplate

      @Nullable public @Nullable String getEditTemplate()
    • getViewTemplate

      @Nullable public @Nullable String getViewTemplate()
    • getWeight

      public int getWeight()
      Specified by:
      getWeight in interface com.atlassian.plugin.web.api.descriptors.WeightedDescriptor
    • getScope

      public NotificationType.Scope getScope()
    • getExporter

      public NotificationTypeExporter getExporter()