Class AstoMetadataRemove

java.lang.Object
com.artipie.rpm.asto.AstoMetadataRemove

public final class AstoMetadataRemove extends Object
Removes packages from metadata files.
Since:
1.9
  • Constructor Details

    • AstoMetadataRemove

      public AstoMetadataRemove(Storage asto, RepoConfig cnfg, Optional<Collection<PackageInfo>> infos)
      Ctor.
      Parameters:
      asto - Abstract storage
      cnfg - Repos config
      infos - Collection with removed packages info if required
    • AstoMetadataRemove

      public AstoMetadataRemove(Storage asto, RepoConfig cnfg)
      Ctor.
      Parameters:
      asto - Abstract storage
      cnfg - Repos config
  • Method Details

    • perform

      public CompletionStage<Key> perform(Collection<String> checksums)
      Removes packages from metadata xmls. Resulting new xmls are stored into temp location along with checksums and size of un-gziped files. Temp location key as returned in result.
      Parameters:
      checksums - Checksums of the packages to remove
      Returns:
      Completable action with temp location key