|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.virtuosotechnologies.lib.plugin.SimplePluginInfo
Simple uneditable implementation of PluginInfo. This can only be constructed as a clone of another PluginInfo
Constructor Summary | |
SimplePluginInfo(PluginInfo original)
Constructor |
Method Summary | |
String |
getDescriptionForProvidedAPI(String apiName)
Get the description for the given provided API. |
URL |
getJarForProvidedAPI(String apiName)
Get the Jar URL for the given API spec, or null if no jar is needed. |
String |
getPluginDescription()
Get the description of the plugin |
PluginID |
getPluginID()
Get the identifier of the plugin |
String |
getPluginInitializerClassName()
Get the name of the PluginInitializer implementation class |
URL |
getPluginJar()
Get the jar URL for the plugin. |
String |
getPluginShortDescription()
Get the short description of the plugin |
String[] |
getProvidedAPINames()
Get the provided API names |
String[] |
getUsedAPINames()
Get the used API names, both required and optional |
APIVersion |
getVersionForProvidedAPI(String apiName)
Get the version for the given provided API. |
APIVersion |
getVersionForUsedAPI(String apiName)
Get the version for the given used API. |
boolean |
isForcingUniqueness()
Returns true if this plugin wants to be the only version of itself installed. |
boolean |
isUsedAPIOptional(String apiName)
Is the given used API optional? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimplePluginInfo(PluginInfo original)
original
- original PluginInfo to copyMethod Detail |
public PluginID getPluginID()
getPluginID
in interface PluginInfo
public String getPluginDescription()
getPluginDescription
in interface PluginInfo
public String getPluginShortDescription()
getPluginShortDescription
in interface PluginInfo
public URL getPluginJar()
getPluginJar
in interface PluginInfo
public String getPluginInitializerClassName()
getPluginInitializerClassName
in interface PluginInfo
public boolean isForcingUniqueness()
isForcingUniqueness
in interface PluginInfo
public String[] getProvidedAPINames()
getProvidedAPINames
in interface PluginInfo
public String getDescriptionForProvidedAPI(String apiName)
getDescriptionForProvidedAPI
in interface PluginInfo
apiName
- name of a provided API
NullPointerException
- name not foundpublic APIVersion getVersionForProvidedAPI(String apiName)
getVersionForProvidedAPI
in interface PluginInfo
apiName
- name of a provided API
NullPointerException
- name not foundpublic URL getJarForProvidedAPI(String apiName)
getJarForProvidedAPI
in interface PluginInfo
apiName
- name of a provided API
NullPointerException
- name not foundpublic String[] getUsedAPINames()
getUsedAPINames
in interface PluginInfo
public APIVersion getVersionForUsedAPI(String apiName)
getVersionForUsedAPI
in interface PluginInfo
apiName
- name of a used API
NullPointerException
- name not foundpublic boolean isUsedAPIOptional(String apiName)
isUsedAPIOptional
in interface PluginInfo
apiName
- name of a used API
NullPointerException
- name not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |