Class CommitsRequest

java.lang.Object
com.atlassian.bitbucket.commit.AbstractCommitsRequest
com.atlassian.bitbucket.commit.CommitsRequest

public class CommitsRequest extends AbstractCommitsRequest
Defines a request to retrieve commits which are ancestors of a given starting commit.
  • Method Details

    • getCommitId

      @Nonnull public String getCommitId()
      Returns:
      the ID of the commit to load, which may be a branch or tag name or a commit ID
    • getSince

      @Nullable public Instant getSince()
      Returns:
      the date since when commits are requested from or null if none is set
      Since:
      7.12