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