public class CommitRequest extends AbstractCommitRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
CommitRequest.Builder |
AbstractCommitRequest.AbstractCommitRequestBuilder<B extends AbstractCommitRequest.AbstractCommitRequestBuilder<B>>UNLIMITED_MESSAGE_LENGTH| 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.
|
Set<String> |
getPropertyKeys() |
Repository |
getRepository() |
@Nonnull public String getCommitId()
getCommitId in class AbstractCommitRequestcommit ID, which may also be specified using a branch ID
or tag IDpublic int getMaxMessageLength()
getMaxMessageLength in class AbstractCommitRequestAbstractCommitRequest.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.getPath in class AbstractCommitRequest@Nonnull public Set<String> getPropertyKeys()
property keys to load, which may be empty but never null@Nonnull public Repository getRepository()
getRepository in class AbstractCommitRequestCopyright © 2019 Atlassian. All rights reserved.