Class MetadataUpload


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

    • MetadataUpload

      public MetadataUpload()
      Creates a new uninitialized upload.
    • MetadataUpload

      public MetadataUpload(org.eclipse.aether.metadata.Metadata metadata, File file)
      Creates a new upload with the specified properties.
      Parameters:
      metadata - The metadata to upload, may be null.
      file - The local file to upload the metadata from, may be null.
  • Method Details