public interface

DirectoryRevision

com.atlassian.bitbucket.content.DirectoryRevision

Class Overview

Represents a revision of a directory

Summary

Public Methods
@Nonnull Page<ContentTreeNode> getChildren()
@Nonnull String getCommitId()
@Nonnull Path getPath()

Public Methods

@Nonnull public Page<ContentTreeNode> getChildren ()

Returns
  • a Page of nodes that are contained in the Directory at the revision.

@Nonnull public String getCommitId ()

Returns
  • the commit id of the Directory

@Nonnull public Path getPath ()

Returns
  • the path of the directory