Interface JSResolvableBundleAsset

All Superinterfaces:
JSBundleAsset, JSBundleObject
All Known Subinterfaces:
JSModule

public interface JSResolvableBundleAsset extends JSBundleAsset
Represents a JSBundleAsset that is selected/resolved from a pool of equivalent objects of the same type.

For example, several JSModule objects may point to the same physical asset living in different bundles; each of those objects can be requested using its JSBundleAsset URL. Only the resolved instance chosen by a predefined algorithm, however, is eligible to be requested via the JSResolvableBundleAsset URL. This is useful to disambiguate duplicated assets.

  • Method Details

    • getResolvedId

      String getResolvedId()
      Returns the asset's resolved ID; this differs from the canonical ID defined in the JSBundleAsset. See this class's package summary for more information about resolved assets.
      Returns:
      the asset's resolved ID
    • getResolvedURL

      String getResolvedURL()
      Returns the asset's resolved URL; this differs from the canonical URL defined in the JSBundleAsset. See this class's package summary for more information about resolved assets.
      Returns:
      the asset's resolved URL