Class JcrPackageItem

    • Constructor Detail

      • JcrPackageItem

        public JcrPackageItem​(org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage)
                       throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
    • Method Detail

      • versionAsName

        public JcrPackageItem versionAsName​(boolean versionAsName)
      • getDefinition

        public org.apache.jackrabbit.vault.packaging.JcrPackageDefinition getDefinition()
      • toJson

        public void toJson​(com.google.gson.stream.JsonWriter writer)
                    throws javax.jcr.RepositoryException,
                           IOException
        Specified by:
        toJson in interface TreeItem
        Throws:
        javax.jcr.RepositoryException
        IOException
      • getFilename

        public String getFilename()
      • getLastModified

        public Calendar getLastModified()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object