Interface Download


  • @ConsumerType
    public interface Download
    The model interface that represents the Download action component.
    • Method Detail

      • getAssets

        Collection<AssetModel> getAssets()
        Returns:
        a collection of assets that are to be downloaded.
      • getZipFileName

        String getZipFileName()
        Returns:
        the name of the zip file that contains the assets (and their renditions) to download.
      • getMaxContentSize

        long getMaxContentSize()
        Returns:
        a long representing the maximum content size limit allowed
      • getDownloadContentSize

        long getDownloadContentSize()
        Returns:
        a long representing the size of the contents about to be downloaded
      • getMaxContentSizeLabel

        String getMaxContentSizeLabel()
        Returns:
        a string with a human readable label of the max content size limit
      • getDownloadContentSizeLabel

        String getDownloadContentSizeLabel()
        Returns:
        a string with a human readable label of the current download size
      • isAsynchronous

        boolean isAsynchronous()
        Returns:
        a boolean to indicate whether download behavior will be asynchronous (AEM as a Cloud service) or synchronous (6.x)
      • isLegacyMode

        @Deprecated
        default boolean isLegacyMode()
        Deprecated.