public static class CommitsCommandParameters.Builder extends Object
Constructor and Description |
---|
Builder() |
Builder(CommitsBetweenRequest request) |
Builder(CommitsRequest request) |
public Builder()
public Builder(@Nonnull CommitsBetweenRequest request)
public Builder(@Nonnull CommitsRequest request)
@Nonnull public CommitsCommandParameters.Builder all(boolean value)
@Nonnull public CommitsCommandParameters build()
@Nonnull public CommitsCommandParameters.Builder exclude(@Nullable Iterable<String> values)
@Nonnull public CommitsCommandParameters.Builder exclude(@Nullable String value, @Nullable String... values)
@Nonnull public CommitsCommandParameters.Builder followRenames(boolean value)
value
- new valuethis
@Nonnull public CommitsCommandParameters.Builder ignoreMissing(boolean value)
value
- new valuethis
@Nonnull public CommitsCommandParameters.Builder include(@Nullable Iterable<String> values)
@Nonnull public CommitsCommandParameters.Builder include(@Nullable String value, @Nullable String... values)
@Nonnull public CommitsCommandParameters.Builder maxMessageLength(int value)
value
- the maximum length for included commit messages, where 0
omits messages entirely
and -1
includes the full message regardless of lengththis
@Nonnull public CommitsCommandParameters.Builder merges(@Nonnull CommitListMergeFilter value)
value
- new valuethis
@Nonnull public CommitsCommandParameters.Builder order(@Nonnull CommitOrder value)
value
- new valuethis
@Nonnull public CommitsCommandParameters.Builder path(@Nullable String value)
@Nonnull public CommitsCommandParameters.Builder paths(@Nullable Iterable<String> values)
@Nonnull public CommitsCommandParameters.Builder paths(@Nullable String value, @Nullable String... values)
@Nonnull public CommitsCommandParameters.Builder secondaryRepository(@Nullable Repository value)
@Nonnull public CommitsCommandParameters.Builder traverse(boolean value)
@Nonnull public CommitsCommandParameters.Builder withMessages(boolean value)
value
- true
to include commit messages in the output, up to the specified
maximum length
; otherwise, false
to
omit messages entirelythis
Copyright © 2019 Atlassian. All rights reserved.