Class RepositoryPlugin.PutResult

java.lang.Object
aQute.bnd.service.RepositoryPlugin.PutResult
Enclosing interface:
RepositoryPlugin

public static class RepositoryPlugin.PutResult extends Object
Results returned by the put operation
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Set to true if this artifact was already released
    A (potentially public) uri to the revision as it was put in the repository.

    This can be a URI to the given artifact (when it was put into the repository).
    byte[]
    The SHA1 digest of the artifact as it was put into the repository.

    This can be null and it can differ from the input digest if the repository rewrote the stream for optimization reason.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • artifact

      public URI artifact
      A (potentially public) uri to the revision as it was put in the repository.

      This can be a URI to the given artifact (when it was put into the repository). This does not have to be a File URI!
    • digest

      public byte[] digest
      The SHA1 digest of the artifact as it was put into the repository.

      This can be null and it can differ from the input digest if the repository rewrote the stream for optimization reason. If the
    • alreadyReleased

      public boolean alreadyReleased
      Set to true if this artifact was already released
  • Constructor Details

    • PutResult

      public PutResult()