Clover Coverage Report - Pebble 2.5-SNAPSHOT
Coverage timestamp: Sat Jun 12 2010 09:39:29 EST
../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
11   49   7   1,57
0   35   0,64   7
7     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  Plugin       Line # 10 11 0% 7 0 100% 1.0
 
  (18)
 
1    package net.sourceforge.pebble.plugins;
2   
3    import java.util.Collection;
4   
5    /**
6    * A plugin
7    *
8    * @author James Roper
9    */
 
10    public class Plugin {
11    private final String name;
12    private final String description;
13    private final String pluginClass;
14    private final int weight;
15    private final Collection<PluginConfig> pluginConfig;
16   
 
17  72 toggle public Plugin(String name, String description, String pluginClass, int weight, Collection<PluginConfig> pluginConfig) {
18  72 this.name = name;
19  72 this.description = description;
20  72 this.pluginClass = pluginClass;
21  72 this.weight = weight;
22  72 this.pluginConfig = pluginConfig;
23    }
24   
 
25  4 toggle public String getName() {
26  4 return name;
27    }
28   
 
29  4 toggle public String getDescription() {
30  4 return description;
31    }
32   
 
33  2 toggle public String getPluginClass() {
34  2 return pluginClass;
35    }
36   
 
37  4 toggle public int getWeight() {
38  4 return weight;
39    }
40   
 
41  14 toggle public Collection<PluginConfig> getPluginConfig() {
42  14 return pluginConfig;
43    }
44   
 
45  14 toggle public boolean isConfigurable()
46    {
47  14 return pluginConfig != null && !pluginConfig.isEmpty();
48    }
49    }