public class


extends AbstractCommitCommandParameters
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.scm.AbstractCommandParameters
       ↳ com.atlassian.bitbucket.scm.AbstractCommitCommandParameters
         ↳ com.atlassian.bitbucket.scm.LastModifiedCommandParameters

Class Overview

Describes a starting commit to traverse from, searching for the last commit to modify files in the requested path.

The starting commit is used to:

  • List the files in the requested path
  • Provide the anchor for traversing history to search for modifications to the listed files

If the requested path is null, "" or "/", it will be treated as a reference to the repository's root directory.


Nested Classes
class LastModifiedCommandParameters.Builder  
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Methods
int getMaxMessageLength()
@Nonnull LastModifiedContext toContext()
Assembles a LastModifiedContext from these parameters.
Inherited Methods
From class com.atlassian.bitbucket.scm.AbstractCommitCommandParameters
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Methods

public int getMaxMessageLength ()

  • the maximum length to read for commit messages; if set, messages longer than this will be truncated; -1 indicates unlimited message length

@Nonnull public LastModifiedContext toContext ()

Assembles a LastModifiedContext from these parameters.