|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devplugin.PluginInfo
public final class PluginInfo
This class provides information about a plugin.
Constructor Summary | |
---|---|
PluginInfo()
Creates the default PluginVersion instance. |
|
PluginInfo(java.lang.Class<? extends java.lang.Object> caller,
java.lang.String name)
Creates an instance of PluginInfo with the default values and the given name. |
|
PluginInfo(java.lang.Class<? extends java.lang.Object> caller,
java.lang.String name,
java.lang.String desc)
Creates an instance of PluginInfo with the default values and the given name and description. |
|
PluginInfo(java.lang.Class<? extends java.lang.Object> caller,
java.lang.String name,
java.lang.String desc,
java.lang.String author)
Creates an instance of PluginInfo with the default values and the given name, description and author. |
|
PluginInfo(java.lang.Class<? extends java.lang.Object> caller,
java.lang.String name,
java.lang.String desc,
java.lang.String author,
java.lang.String license)
Creates an instance of PluginInfo with the default values and the given name, description, author, the help url and license. |
|
PluginInfo(java.lang.Class<? extends java.lang.Object> caller,
java.lang.String name,
java.lang.String desc,
java.lang.String author,
java.lang.String license,
java.lang.String helpUrl)
Creates an instance of PluginInfo with the default values and the given name, description, author, the help url and license. |
Method Summary | |
---|---|
java.lang.String |
getAuthor()
Gets the author of the plugin. |
java.lang.String |
getDescription()
Gets the description of the plugin. |
java.lang.String |
getHelpUrl()
Gets the help url for the plugin. |
static java.lang.String |
getHelpUrl(java.lang.String id)
get the help URL (in the wiki) for a plugin |
java.lang.String |
getLicense()
Gets the license of the plugin. |
java.lang.String |
getName()
Gets the name of the plugin. |
Version |
getVersion()
Gets the version of the plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginInfo()
public PluginInfo(java.lang.Class<? extends java.lang.Object> caller, java.lang.String name)
So assumed you have a plugin class MyPlugin, you would do it like this: new PluginInfo(MyPlugin.class, "My Plugin");
caller
- The class (plugin class) that want to create this PluginInfoname
- The name of the plugin.public PluginInfo(java.lang.Class<? extends java.lang.Object> caller, java.lang.String name, java.lang.String desc)
So assumed you have a plugin class MyPlugin, you would do it like this: new PluginInfo(MyPlugin.class, "My Plugin", "This plugin does something.");
caller
- The class (plugin class) that want to create this PluginInfoname
- The name of the plugin.desc
- The description for the plugin.public PluginInfo(java.lang.Class<? extends java.lang.Object> caller, java.lang.String name, java.lang.String desc, java.lang.String author)
So assumed you have a plugin class MyPlugin, you would do it like this: new PluginInfo(MyPlugin.class, "My Plugin", "This plugin does something.", "My Name");
caller
- The class (plugin class) that want to create this PluginInfoname
- The name of the plugin.desc
- The description for the plugin.author
- The author of the plugin.public PluginInfo(java.lang.Class<? extends java.lang.Object> caller, java.lang.String name, java.lang.String desc, java.lang.String author, java.lang.String license)
So assumed you have a plugin class MyPlugin, you would do it like this: new PluginInfo(MyPlugin.class, "My Plugin", "This plugin does something.", "My Name", "Some license");
caller
- The class (plugin class) that want to create this PluginInfoname
- The name of the plugin.desc
- The description for the plugin.author
- The author of the plugin.license
- The license of the plugin.public PluginInfo(java.lang.Class<? extends java.lang.Object> caller, java.lang.String name, java.lang.String desc, java.lang.String author, java.lang.String license, java.lang.String helpUrl)
So assumed you have a plugin class MyPlugin, you would do it like this: new PluginInfo(MyPlugin.class, "My Plugin", "This plugin does something.", "My Name", "Some license", "http://myhelp.org/mypluginhelp");
caller
- The class (plugin class) that want to create this PluginInfoname
- The name of the plugin.desc
- The description for the plugin.author
- The author of the plugin.helpUrl
- The url where to find help for the plugin.license
- The license of the plugin.Method Detail |
---|
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getAuthor()
public java.lang.String getHelpUrl()
public Version getVersion()
public java.lang.String getLicense()
public static java.lang.String getHelpUrl(java.lang.String id)
id
- plugin id
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |