Interface DownloadManifest

    • Method Detail

      • getTargetCount

        int getTargetCount()
        Retrieves the total number of targets that are included in the manifest.
        Returns:
        Number of targets.
      • addTarget

        void addTarget​(DownloadTarget target)
        Adds a new DownloadTarget item to the manifest. This flavor accepts an instance of DownloadTarget, which might be helpful in cases where more control over the target may be required.
        Parameters:
        target - The target to add to the manifest's list of targets.
      • getTargets

        java.util.Collection<DownloadTarget> getTargets()
        Retrieves all of the DownloadTarget items that have been added to the manifest.
        Returns:
        The manifest's targets.
      • getParameters

        java.util.Map<java.lang.String,​java.lang.Object> getParameters()
        Retrieves all the parameter options to be applied on this download
        Returns:
        map of the parameters