public class CommitsCommandParameters extends AbstractCommandParameters
| Modifier and Type | Class and Description |
|---|---|
static class |
CommitsCommandParameters.Builder |
NOT_BLANK| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getExcludes() |
Set<String> |
getIncludes() |
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() |
Repository |
getSecondaryRepository() |
boolean |
hasExcludes() |
boolean |
hasIncludes() |
boolean |
hasPaths() |
boolean |
hasSecondaryRepository() |
boolean |
isAll() |
boolean |
isFollowingRenames()
Whether or not the commit history will attempt to follow renames.
|
boolean |
isIgnoringMissing() |
boolean |
isTraversing() |
boolean |
isWithMessages() |
CommitContext |
toContext()
Assembles a
CommitContext from these parameters. |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlankpublic int getMaxMessageLength()
commit messages; if set, messages
longer than this will be truncated; -1 indicates unlimited message length@Nonnull public CommitListMergeFilter getMerges()
CommitListMergeFilter@Nonnull public CommitOrder getOrder()
@Nullable public Repository getSecondaryRepository()
public boolean hasExcludes()
public boolean hasIncludes()
public boolean hasPaths()
public boolean hasSecondaryRepository()
public boolean isAll()
public boolean isFollowingRenames()
pathstrue if renames are followed, false otherwisepublic boolean isIgnoringMissing()
public boolean isTraversing()
public boolean isWithMessages()
true if commit messages should be included; otherwise, false if they should be omitted@Nonnull public CommitContext toContext()
CommitContext from these parameters.CommitContext describing these parametersCopyright © 2019 Atlassian. All rights reserved.