Class Release.Asto

java.lang.Object
com.artipie.debian.metadata.Release.Asto
All Implemented Interfaces:
Release
Enclosing interface:
Release

public static final class Release.Asto extends Object implements Release
Implementation of Release from abstract storage.
Since:
0.2
  • Constructor Details

    • Asto

      public Asto(Storage asto, Config config)
      Ctor.
      Parameters:
      asto - Abstract storage
      config - Repository config
  • Method Details

    • create

      public CompletionStage<Void> create()
      Description copied from interface: Release
      Creates Release metadata file for the repository.
      Specified by:
      create in interface Release
      Returns:
      Completed action
    • update

      public CompletionStage<Void> update(Key pckg)
      Description copied from interface: Release
      Updates (or adds) info of the package.
      Specified by:
      update in interface Release
      Parameters:
      pckg - Package index key to update/add
      Returns:
      Completed action
    • key

      public Key key()
      Description copied from interface: Release
      Release index file storage key.
      Specified by:
      key in interface Release
      Returns:
      Item key
    • gpgSignatureKey

      public Key gpgSignatureKey()
      Description copied from interface: Release
      Key of the storage item with the detached GPG signature of the Release index.
      Specified by:
      gpgSignatureKey in interface Release
      Returns:
      Item key