public abstract class AbstractCommitsRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCommitsRequest.AbstractCommitsRequestBuilder<B extends AbstractCommitsRequest.AbstractCommitsRequestBuilder<B>> |
Modifier and Type | Field and Description |
---|---|
static int |
UNLIMITED_MESSAGE_LENGTH
A symbolic constant for
max message length which means the full commit
message should be read regardless of length. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCommitsRequest(AbstractCommitsRequest.AbstractCommitsRequestBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxMessageLength() |
CommitListMergeFilter |
getMerges()
Retrieves the strategy being used to filter merge commits.
|
CommitOrder |
getOrder()
Retrieves the sort order to use for the commits.
|
Set<String> |
getPaths()
Retrieves paths, which may identify directories or files within the repository, which are used to limit
returned commits.
|
Set<String> |
getPropertyKeys()
Retrieves the keys of
index properties to load for returned commits. |
Repository |
getRepository() |
boolean |
isFollowingRenames()
Whether or not the commit history will attempt to follow renames.
|
boolean |
isIgnoringMissing() |
public static final int UNLIMITED_MESSAGE_LENGTH
max message length
which means the full commit
message should be read regardless of length.protected AbstractCommitsRequest(AbstractCommitsRequest.AbstractCommitsRequestBuilder<?> builder)
public int getMaxMessageLength()
UNLIMITED_MESSAGE_LENGTH
to include the full commit message regardless of length@Nonnull public CommitListMergeFilter getMerges()
CommitListMergeFilter
@Nonnull public CommitOrder getOrder()
@Nonnull public Set<String> getPaths()
@Nonnull public Set<String> getPropertyKeys()
index
properties to load for returned commits.CommitIndex.getProperties(String, Iterable)
,
CommitIndex.getProperties(Iterable, Iterable)
@Nonnull public Repository getRepository()
public boolean isFollowingRenames()
paths
true
if renames are followed, false
otherwisepublic boolean isIgnoringMissing()
null
to let the application figure out whether
to do so.Copyright © 2022 Atlassian. All rights reserved.