public class LastModifiedCommandParameters extends AbstractCommitCommandParameters
starting commit
to traverse from, searching for the last commit to modify
files in the requested path
.
The starting commit
is used to:
requested path
If the requested path
is null
, ""
or "/"
, it will be treated as
a reference to the repository's root directory.
Modifier and Type | Class and Description |
---|---|
static class |
LastModifiedCommandParameters.Builder |
AbstractCommitCommandParameters.AbstractCommitParametersBuilder<B extends AbstractCommitCommandParameters.AbstractCommitParametersBuilder<B>>
NOT_BLANK
Modifier and Type | Method and Description |
---|---|
int |
getMaxMessageLength() |
LastModifiedContext |
toContext()
Assembles a
LastModifiedContext from these parameters. |
getCommitId, getPath, hasPath
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public int getMaxMessageLength()
commit messages
; if set, messages
longer than this will be truncated; -1 indicates unlimited message length@Nonnull public LastModifiedContext toContext()
LastModifiedContext
from these parameters.LastModifiedContext
describing these parametersCopyright © 2019 Atlassian. All rights reserved.