|
|
|
@ -25,6 +25,7 @@ import java.util.List;
|
|
|
|
|
public class PluginDescriptor { |
|
|
|
|
|
|
|
|
|
private String pluginId; |
|
|
|
|
private String pluginDescription; |
|
|
|
|
private String pluginClass; |
|
|
|
|
private PluginVersion version; |
|
|
|
|
private String provider; |
|
|
|
@ -41,6 +42,13 @@ public class PluginDescriptor {
|
|
|
|
|
return pluginId; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns the description of this plugin. |
|
|
|
|
*/ |
|
|
|
|
public String getPluginDescription() { |
|
|
|
|
return pluginDescription; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns the name of the class that implements Plugin interface. |
|
|
|
|
*/ |
|
|
|
@ -82,6 +90,10 @@ public class PluginDescriptor {
|
|
|
|
|
this.pluginId = pluginId; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void setPluginDescription(String pluginDescription) { |
|
|
|
|
this.pluginDescription = pluginDescription; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void setPluginClass(String pluginClassName) { |
|
|
|
|
this.pluginClass = pluginClassName; |
|
|
|
|
} |
|
|
|
|