1 package com.atlassian.plugin.impl;
2
3
4
5
6
7
8 public class UnloadablePlugin extends StaticPlugin
9 {
10 private String errorText;
11 private boolean uninstallable;
12 private boolean deletable;
13
14 public UnloadablePlugin()
15 {
16 }
17
18
19
20
21
22 public UnloadablePlugin(String text)
23 {
24 this.errorText = text;
25 }
26
27 public boolean isUninstallable()
28 {
29 return uninstallable;
30 }
31
32 public void setDeletable(boolean deletable)
33 {
34 this.deletable = deletable;
35 }
36
37 public boolean isDeleteable()
38 {
39 return deletable;
40 }
41
42 public void setUninstallable(boolean uninstallable)
43 {
44 this.uninstallable = uninstallable;
45 }
46
47 public boolean isEnabledByDefault()
48 {
49 return false;
50 }
51
52 public String getErrorText()
53 {
54 return errorText;
55 }
56
57 public void setErrorText(String errorText)
58 {
59 this.errorText = errorText;
60 }
61
62
63 public void close()
64 {
65
66 }
67 }