Class LastModifiedContext

java.lang.Object
com.atlassian.bitbucket.commit.LastModifiedContext

public class LastModifiedContext extends Object
Provides context about the request when streaming modifications.
Since:
4.6
  • Method Details

    • getCommitId

      @Nonnull public String getCommitId()
      Returns:
      the starting commit that was used to retrieve the file list and anchor the history traversal
    • getPath

      @Nonnull public Optional<String> getPath()
      Returns:
      the path from which files are being streamed; all files will be relative to this path