1 package com.atlassian.plugin.event.events;
2
3 import com.atlassian.plugin.ModuleDescriptor;
4
5 /**
6 * Event fired when a plugin module is enabled, which can also happen when its
7 * plugin is enabled or installed.
8 *
9 * @see com.atlassian.plugin.event.events
10 */
11 public class PluginModuleEnabledEvent
12 {
13 private final ModuleDescriptor<?> module;
14
15 public PluginModuleEnabledEvent(ModuleDescriptor<?> module)
16 {
17 this.module = module;
18 }
19
20 public ModuleDescriptor<?> getModule()
21 {
22 return module;
23 }
24 }