public abstract class AbstractCommitRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCommitRequest.AbstractCommitRequestBuilder<B extends AbstractCommitRequest.AbstractCommitRequestBuilder<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 |
AbstractCommitRequest(AbstractCommitRequest.AbstractCommitRequestBuilder<?> builder) |
Modifier and Type | Method and Description |
---|---|
String |
getCommitId() |
int |
getMaxMessageLength() |
String |
getPath()
Retrieves an optional path which is used to control which commit is returned.
|
Repository |
getRepository() |
public static final int UNLIMITED_MESSAGE_LENGTH
max message length
which means the full commit
message should be read regardless of length.protected AbstractCommitRequest(AbstractCommitRequest.AbstractCommitRequestBuilder<?> builder)
public int getMaxMessageLength()
UNLIMITED_MESSAGE_LENGTH
to include the full commit message regardless of length@Nullable public String getPath()
commit ID
is used as a starting point and may not actually be the commit that
ultimately gets returned. Instead, the first commit which modifies the specified path will be returned. If
none of the commits in the ancestry of the starting commit modify the specified path, no commit is returned.@Nonnull public Repository getRepository()
Copyright © 2021 Atlassian. All rights reserved.