Class RepositoryPlugin.PutResult

  • Enclosing interface:
    RepositoryPlugin

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

      Fields 
      Modifier and Type Field Description
      boolean alreadyReleased
      Set to true if this artifact was already released
      java.net.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).
      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.
    • Constructor Summary

      Constructors 
      Constructor Description
      PutResult()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • artifact

        public java.net.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 Detail

      • PutResult

        public PutResult()