Package com.atlassian.bitbucket.scm
Class CommitsCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.scm.CommitsCommandParameters.Builder
- Enclosing class:
- CommitsCommandParameters
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Builder(CommitsBetweenRequest request) Builder(CommitsRequest request) -
Method Summary
Modifier and TypeMethodDescriptionall(boolean value) build()followRenames(boolean value) ignoreMissing(boolean value) maxMessageLength(int value) merges(CommitListMergeFilter value) order(CommitOrder value) secondaryRepository(Repository value) traverse(boolean value) withMessages(boolean value)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
Builder
-
-
Method Details
-
all
-
build
-
exclude
-
exclude
@Nonnull public CommitsCommandParameters.Builder exclude(@Nullable String value, @Nullable String... values) -
followRenames
- Parameters:
value- new value- Returns:
this- Since:
- 4.5
-
ignoreMissing
- Parameters:
value- new value- Returns:
this- Since:
- 5.0
-
include
-
include
@Nonnull public CommitsCommandParameters.Builder include(@Nullable String value, @Nullable String... values) -
maxMessageLength
- Parameters:
value- the maximum length for included commit messages, where0omits messages entirely and-1includes the full message regardless of length- Returns:
this- Since:
- 4.5
-
merges
- Parameters:
value- new value- Returns:
this- Since:
- 4.8
-
order
- Parameters:
value- new value- Returns:
this- Since:
- 5.0
-
path
-
paths
-
paths
@Nonnull public CommitsCommandParameters.Builder paths(@Nullable String value, @Nullable String... values) -
secondaryRepository
-
since
- Parameters:
value- limits to commits newer than the value provided- Returns:
this- Since:
- 7.12
-
traverse
-
withMessages
- Parameters:
value-trueto include commit messages in the output, up to the specifiedmaximum length; otherwise,falseto omit messages entirely- Returns:
this
-