public interface LinkedAsset extends Asset
Modifier and Type | Method and Description |
---|---|
void |
addImplicitDependencies(java.util.List<Asset> implicitDependencies)
BRJS calculates dependencies implicitly for additional
Asset s found by plugins, for example, a JavaScript file
from a blade will implicitly depend on a CSS file in the same blade once this has been located. |
java.util.List<Asset> |
getDependentAssets(BundlableNode bundlableNode)
Returns a list of files this LinkedAssetFile depends on
|
assetContainer, file, getAssetName, getAssetPath, getPrimaryRequirePath, getReader, getRequirePaths, isRequirable, isScopeEnforced
java.util.List<Asset> getDependentAssets(BundlableNode bundlableNode) throws ModelOperationException
bundlableNode
- TODOModelOperationException
- for any exception when calculating dependencies and resolving require pathsvoid addImplicitDependencies(java.util.List<Asset> implicitDependencies)
Asset
s found by plugins, for example, a JavaScript file
from a blade will implicitly depend on a CSS file in the same blade once this has been located. The method will add these implicit
dependencies to the current LinkedAsset.implicitDependencies
- the previously retrieved implicitDependencies to be added