|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Plugin meta-information. Clients should not implement this interface directly, because it will probably have methods added in the future. Instead, use the EditablePluginInfo implementation.
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? |
Method Detail |
public PluginID getPluginID()
public String getPluginDescription()
public String getPluginShortDescription()
public URL getPluginJar()
public String getPluginInitializerClassName()
public boolean isForcingUniqueness()
public String[] getProvidedAPINames()
public String getDescriptionForProvidedAPI(String apiName)
apiName
- name of a provided API
NullPointerException
- name not foundpublic APIVersion getVersionForProvidedAPI(String apiName)
apiName
- name of a provided API
NullPointerException
- name not foundpublic URL getJarForProvidedAPI(String apiName)
apiName
- name of a provided API
NullPointerException
- name not foundpublic String[] getUsedAPINames()
public APIVersion getVersionForUsedAPI(String apiName)
apiName
- name of a used API
NullPointerException
- name not foundpublic boolean isUsedAPIOptional(String apiName)
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 |