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() |
Instant |
getSince()
Show commits more recent than a specific date.
|
boolean |
hasExcludes() |
boolean |
hasIncludes() |
boolean |
hasPaths() |
boolean |
hasSecondaryRepository() |
boolean |
hasSince() |
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, requireNonBlank
public 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()
@Nullable public Instant getSince()
Instant
which the commits should be more recent than or null
if no filter is setpublic boolean hasExcludes()
public boolean hasIncludes()
public boolean hasPaths()
public boolean hasSecondaryRepository()
public boolean hasSince()
true
if a since date is specified, false
otherwisepublic boolean isAll()
public boolean isFollowingRenames()
paths
true
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 © 2022 Atlassian. All rights reserved.