jetbrains.buildServer.web.openapi
Interface PluginDescriptor


public interface PluginDescriptor

Represents all information about plugin. Each plugin may require an instance of that object to get all inforation about itself.


Field Summary
static java.lang.String PLUGIN_RESOURCES_PATH
          Name of the variable containing plugin resource path in jsp
 
Method Summary
 java.lang.String getPluginName()
          Name of plugin.
 java.lang.String getPluginResourcesPath()
          returs context path to all plugin resources.
 java.lang.String getPluginResourcesPath(java.lang.String relativePath)
          returs context path by plugin relative path.
 

Field Detail

PLUGIN_RESOURCES_PATH

static final java.lang.String PLUGIN_RESOURCES_PATH
Name of the variable containing plugin resource path in jsp

See Also:
Constant Field Values
Method Detail

getPluginName

java.lang.String getPluginName()
Name of plugin. The name of plugin is taken from it's root folder name

Returns:
name of plugin

getPluginResourcesPath

java.lang.String getPluginResourcesPath()
returs context path to all plugin resources.

Returns:
plugin resources deployment paths

getPluginResourcesPath

java.lang.String getPluginResourcesPath(@NotNull
                                        java.lang.String relativePath)
returs context path by plugin relative path.

Returns:
absolute server path