1 package com.atlassian.plugin.event.events;
2
3 /**
4 * Event for when the container a plugin is installed into has been refreshed
5 *
6 * @param <T> The container type
7 * @since 2.2.0
8 */
9 public class PluginContainerRefreshedEvent<T>
10 {
11 private final T container;
12 private final String key;
13
14 public PluginContainerRefreshedEvent(T container, String key)
15 {
16 this.container = container;
17 this.key = key;
18 }
19
20 public T getContainer()
21 {
22 return container;
23 }
24
25 public String getPluginKey()
26 {
27 return key;
28 }
29 }