Package com.atlassian.bitbucket.scm.bulk
Class BulkTraverseCommitsCommandParameters.Builder
java.lang.Object
com.atlassian.bitbucket.scm.bulk.BulkTraverseCommitsCommandParameters.Builder
- Enclosing class:
- BulkTraverseCommitsCommandParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalternate
(Repository value) alternates
(Repository value, Repository... values) alternates
(Iterable<Repository> values) build()
ignoreMissing
(boolean value) Specify commits to include in the traversal.Specify commits to include in the traversal.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
alternate
- Parameters:
value
- an alternate repository to look in for included commits- Returns:
this
-
alternates
@Nonnull public BulkTraverseCommitsCommandParameters.Builder alternates(@Nullable Iterable<Repository> values) - Parameters:
values
- alternate repositories to look in for included commits- Returns:
this
-
alternates
@Nonnull public BulkTraverseCommitsCommandParameters.Builder alternates(@Nullable Repository value, @Nullable Repository... values) - Parameters:
value
- an alternate repository to look in for included commitsvalues
- zero or more alternate repositories to look in for included commits- Returns:
this
-
ignoreMissing
- Parameters:
value
- boolean value indicating whether or not to ignore missing commits- Returns:
this
-
include
@Nonnull public BulkTraverseCommitsCommandParameters.Builder include(@Nullable Iterable<String> values) Specify commits to include in the traversal. These should be commit hashes rather than ref names - if a ref name is provided it will only be resolved for the primary repository and not anyalternates
specified.- Parameters:
values
- commits to include in the traversal- Returns:
this
-
include
@Nonnull public BulkTraverseCommitsCommandParameters.Builder include(@Nullable String value, @Nullable String... values) Specify commits to include in the traversal. These should be commit hashes rather than ref names - if a ref name is provided it will only be resolved for the primary repository and not anyalternates
specified.- Parameters:
value
- a commit to include in the traversalvalues
- zero or more commits to include in the traversal- Returns:
this
-