Package io.bdeploy.api.plugin.v1
Class PluginAssets
java.lang.Object
io.bdeploy.api.plugin.v1.PluginAssets
Describes a mapping of a static path inside the JAR file of a plugin to a URL path in the plugins scope under which this path
should be made available on the server.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PluginAssets
- Parameters:
jarPath- the path inside the JAR file to make available.urlPath- the additional context path under which to make this asset available. Note that this is appended to a plugin-specific unique context-path, so it is not the full path on the server.
-
-
Method Details
-
getJarPath
- Returns:
- the path inside the plugin's JAR file which is used to load resources when requested.
-
getUrlPath
- Returns:
- the path inside the plugins namespace on the server under which this asset path should be hosted.
-