public interface RequirePlugin extends Plugin
Modifier and Type | Method and Description |
---|---|
Asset |
getAsset(BundlableNode bundlableNode,
java.lang.String requirePathSuffix)
The method returns the Asset retrieved using the selected requirePathSuffix from the bundable node.
|
java.lang.String |
getPluginName()
The method returns the name of the current plugin being used e.g.
|
castTo, close, getPluginClass, instanceOf, setBRJS
java.lang.String getPluginName()
Asset getAsset(BundlableNode bundlableNode, java.lang.String requirePathSuffix) throws RequirePathException
bundlableNode
- the BundlableNode
which hosts the sought Asset
requirePathSuffix
- the suffix of the Asset's require path, used as its unique identifier within the BundableNodeRequirePathException
- if the require path suffix may not be validated