public interface AssetPlugin extends Plugin
| Modifier and Type | Method and Description |
|---|---|
void |
discoverAssets(org.bladerunnerjs.model.AssetContainer assetContainer,
MemoizedFile dir,
java.lang.String requirePrefix,
java.util.List<Asset> implicitDependencies,
AssetRegistry assetDiscoveryInitiator)
The method adds the
Assets available for the specified directory, including implicit dependencies. |
castTo, close, getPluginClass, instanceOf, setBRJSvoid discoverAssets(org.bladerunnerjs.model.AssetContainer assetContainer,
MemoizedFile dir,
java.lang.String requirePrefix,
java.util.List<Asset> implicitDependencies,
AssetRegistry assetDiscoveryInitiator)
Assets available for the specified directory, including implicit dependencies.assetContainer - an AssetContainer for which the AssetPlugins will be determineddir - a MemoizedFile object specifying the AssetContainer for which the AssetPlugins will be determinedrequirePrefix - a String object specifying what require prefix the newly discovered Assets should adhere toimplicitDependencies - a List of Assets specifying the already determined implicit dependencies for the containerassetDiscoveryInitiator - an AssetRegistry for the management and storage of Assets discovered