Class AstoRepoAdd

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

public final class AstoRepoAdd extends Object
Add packages to metadata and repository.
Since:
1.10
  • Constructor Details

    • AstoRepoAdd

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

    • perform

      public CompletionStage<Void> perform()
      Performs whole workflow to add items, listed in RpmUpload.TO_ADD location, to the repository and metadata files.
      Returns:
      Completable action
    • performWithResult

      public CompletionStage<List<PackageInfo>> performWithResult()
      Performs whole workflow to add items, listed in RpmUpload.TO_ADD location, to the repository and metadata files. Returns list with info about added packages.
      Returns:
      Completable action with added packages info list