View Javadoc

1   package com.atlassian.plugin.event.events;
2   
3   /**
4    * Event thrown when the container a plugin is installed into either rejects the plugin or fails altogether
5    *
6    * @since 2.2.0
7    */
8   public class PluginContainerFailedEvent<T>
9   {
10      private final T container;
11      private final String key;
12      private final Throwable cause;
13  
14      public PluginContainerFailedEvent(T container, String key, Throwable cause)
15      {
16          this.container = container;
17          this.key = key;
18          this.cause = cause;
19      }
20  
21      public T getContainer()
22      {
23          return container;
24      }
25  
26      public String getPluginKey()
27      {
28          return key;
29      }
30  
31      public Throwable getCause()
32      {
33          return cause;
34      }
35  }