public class

LastModifiedContext

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

Class Overview

Provides context about the request when streaming modifications.

Summary

Nested Classes
class LastModifiedContext.Builder  
Public Methods
@Nonnull String getCommitId()
@Nonnull Optional<String> getPath()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nonnull public String getCommitId ()

Returns
  • the starting commit that was used to retrieve the file list and anchor the history traversal

@Nonnull public Optional<String> getPath ()

Returns
  • the path from which files are being streamed; all files will be relative to this path