1 package com.atlassian.plugin.event.events;
2
3 import org.apache.commons.lang.Validate;
4
5
6
7
8
9
10 public class PluginContainerRefreshedEvent
11 {
12 private final Object container;
13 private final String key;
14
15 public PluginContainerRefreshedEvent(Object container, String key)
16 {
17 Validate.notNull(key, "The plugin key must be available");
18 Validate.notNull(container, "The container cannot be null");
19
20 this.container = container;
21 this.key = key;
22 }
23
24 public Object getContainer()
25 {
26 return container;
27 }
28
29 public String getPluginKey()
30 {
31 return key;
32 }
33 }