1 package com.atlassian.plugin.loaders;
2
3 import com.atlassian.plugin.*;
4
5 import java.util.Collection;
6 import java.util.Map;
7 import java.util.List;
8
9 public interface PluginLoader
10 {
11 Collection loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException;
12
13
14
15
16 boolean supportsAddition();
17
18
19
20
21 boolean supportsRemoval();
22
23
24
25
26 Collection addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException;
27
28
29
30
31 void removePlugin(Plugin plugin) throws PluginException;
32
33 }