Interface VersionsManifestsAPI

All Known Implementing Classes:
ManifestLocations

@Experimental public interface VersionsManifestsAPI
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    add(String name, String url)
    Adds a URL to a versions manifest json with the default priority of 0.
    void
    add(String name, String url, int priority)
    Adds a URL to a versions manifest json with the given priority.
  • Method Details

    • add

      default void add(String name, String url)
      Adds a URL to a versions manifest json with the default priority of 0.
      Parameters:
      name - a string that uniquely identifies this versions manifest, to be used in cache file paths
      url - the String-representation of the URL to the manifest json
    • add

      void add(String name, String url, int priority)
      Adds a URL to a versions manifest json with the given priority.
      Parameters:
      name - a string that uniquely identifies this versions manifest, to be used in cache file paths
      url - the String-representation of the URL to the manifest json
      priority - the priority with which this URL gets sorted against other entries entries are sorted by priority, from lowest to highest