Class MetadataDownload

public final class MetadataDownload extends MetadataTransfer
A download of metadata from a remote repository. A repository connector processing this download has to use setException(MetadataTransferException) to report the results of the transfer.
  • Constructor Details

    • MetadataDownload

      Creates a new uninitialized download.
    • MetadataDownload

      public MetadataDownload(Metadata metadata, String context, File file, String checksumPolicy)
      Creates a new download with the specified properties.
      metadata - The metadata to download, may be null.
      context - The context in which this download is performed, may be null.
      file - The local file to download the metadata to, may be null.
      checksumPolicy - The checksum policy, may be null.
  • Method Details