Class Folder

    • Method Detail

      • treeId

        public final String treeId()

        The full SHA-1 pointer of the tree information for the commit that contains the folder.

        Returns:
        The full SHA-1 pointer of the tree information for the commit that contains the folder.
      • absolutePath

        public final String absolutePath()

        The fully qualified path of the folder in the repository.

        Returns:
        The fully qualified path of the folder in the repository.
      • relativePath

        public final String relativePath()

        The relative path of the specified folder from the folder where the query originated.

        Returns:
        The relative path of the specified folder from the folder where the query originated.
      • serializableBuilderClass

        public static Class<? extends Folder.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)