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

      @Deprecated public MetadataUpload(org.eclipse.aether.metadata.Metadata metadata, File file)
      Deprecated.
      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.
    • MetadataUpload

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