Class ArtifactDigestInfo


  • public class ArtifactDigestInfo
    extends Object
    Helper interface for agent artifact publishers. Allows a DigestProducingArtifactsPublisher to calculate custom artifact digest and provide it to a digest consumer (for example to save it in agent cache)
    Since:
    2022.1
    Author:
    dkirkhmeier
    • Constructor Detail

      • ArtifactDigestInfo

        public ArtifactDigestInfo​(@NotNull
                                  File file,
                                  @NotNull
                                  String artifactPath,
                                  @Nullable
                                  String digest)
    • Method Detail

      • getFile

        @NotNull
        public File getFile()
      • getArtifactPath

        @NotNull
        public String getArtifactPath()
      • getDigest

        @Nullable
        public String getDigest()