View Javadoc

1   package com.atlassian.plugin.impl;
2   
3   /**
4    * This class represents a Plugin that was not able to be loaded by the PluginManager.
5    *
6    * @see com.atlassian.plugin.DefaultPluginManager
7    */
8   public class UnloadablePlugin extends StaticPlugin
9   {
10      private String errorText;
11      private boolean uninstallable;
12      private boolean deletable;
13  
14      public boolean isUninstallable()
15      {
16          return uninstallable;
17      }
18  
19      public void setDeletable(boolean deletable)
20      {
21          this.deletable = deletable;
22      }
23  
24      public boolean isDeleteable()
25      {
26          return deletable;
27      }
28  
29      public void setUninstallable(boolean uninstallable)
30      {
31          this.uninstallable = uninstallable;
32      }
33  
34      public boolean isEnabledByDefault()
35      {
36          return false;
37      }
38  
39      public String getErrorText()
40      {
41          return errorText;
42      }
43  
44      public void setErrorText(String errorText)
45      {
46          this.errorText = errorText;
47      }
48  
49  
50      public void close()
51      {
52  
53      }
54  }