public interface BundleSet
Modifier and Type | Method and Description |
---|---|
<AT extends Asset> |
assets(java.lang.Class<? extends AT> assetType,
java.lang.String... prefixes)
The method retrieves all the entities of the requested
Asset subtype that correspond to the specified prefixes e.g. |
java.util.List<Asset> |
assets(java.util.List<java.lang.Class<? extends Asset>> assetTypes,
java.lang.String... prefixes)
The method retrieves all the
Asset s that correspond to the specified prefixes e.g. |
java.util.List<Asset> |
assets(java.lang.String... prefixes)
The method retrieves all the
Asset s that correspond to the specified prefixes e.g. |
BundlableNode |
bundlableNode()
The method retrieves the
BundlableNode that represents the current BundleSet. |
java.util.List<LinkedAsset> |
seedAssets()
The method retrieves all the
LinkedAsset s that are required for the current bundle. |
java.util.List<SourceModule> |
sourceModules()
The method retrieves all the
SourceModule s that may be requested for the current bundle. |
<SMT extends SourceModule> |
sourceModules(java.lang.Class<? extends SMT> assetType)
The method retrieves all the entities of the requested
Asset subtype that are SourceModules for the current bundle. |
java.util.List<SourceModule> |
sourceModules(java.util.List<java.lang.Class<? extends SourceModule>> assetTypes)
The method retrieves all the
SourceModule s that correspond to the specified SourceModule subtypes. |
BundlableNode bundlableNode()
BundlableNode
that represents the current BundleSet.java.util.List<LinkedAsset> seedAssets()
LinkedAsset
s that are required for the current bundle.java.util.List<Asset> assets(java.lang.String... prefixes)
Asset
s that correspond to the specified prefixes e.g. css! or theme!.prefixes
- optional Strings representing the prefixes that the Assets should have<AT extends Asset> java.util.List<AT> assets(java.lang.Class<? extends AT> assetType, java.lang.String... prefixes)
Asset
subtype that correspond to the specified prefixes e.g. css! or theme!.AT
- a Class extending AssetassetType
- a Class representing an Asset subtype that will be the type of the returned Assetsprefixes
- optional Strings representing the prefixes that the Assets should havejava.util.List<Asset> assets(java.util.List<java.lang.Class<? extends Asset>> assetTypes, java.lang.String... prefixes)
Asset
s that correspond to the specified prefixes e.g. css! or theme! and Asset subtypes.assetTypes
- a List of Classes representing the Asset subtypes that will be the type of the returned Assetsprefixes
- optional Strings representing the prefixes that the Assets should havejava.util.List<SourceModule> sourceModules()
SourceModule
s that may be requested for the current bundle.<SMT extends SourceModule> java.util.List<SMT> sourceModules(java.lang.Class<? extends SMT> assetType)
Asset
subtype that are SourceModules for the current bundle.SMT
- a Class extending SourceModuleassetType
- a Class representing a SourceModule subtype that will be the type of the returned SourceModulesjava.util.List<SourceModule> sourceModules(java.util.List<java.lang.Class<? extends SourceModule>> assetTypes)
SourceModule
s that correspond to the specified SourceModule subtypes.assetTypes
- a Class representing a SourceModule subtype that will be the type of the returned SourceModules