public static interface MergeHunk.Builder extends SdkPojo, CopyableBuilder<MergeHunk.Builder,MergeHunk>
| Modifier and Type | Method and Description |
|---|---|
default MergeHunk.Builder |
base(Consumer<MergeHunkDetail.Builder> base)
Information about the merge hunk in the base of a merge or pull request.
|
MergeHunk.Builder |
base(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
|
default MergeHunk.Builder |
destination(Consumer<MergeHunkDetail.Builder> destination)
Information about the merge hunk in the destination of a merge or pull request.
|
MergeHunk.Builder |
destination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
|
MergeHunk.Builder |
isConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict.
|
default MergeHunk.Builder |
source(Consumer<MergeHunkDetail.Builder> source)
Information about the merge hunk in the source of a merge or pull request.
|
MergeHunk.Builder |
source(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMergeHunk.Builder isConflict(Boolean isConflict)
A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.
isConflict - A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when
the same file or the same lines in a file were modified in both the source and destination of a merge
or pull request. Valid values include true, false, and null. True when the hunk represents a conflict
and one or more files contains a line conflict. File mode conflicts in a merge do not set this to
true.MergeHunk.Builder source(MergeHunkDetail source)
Information about the merge hunk in the source of a merge or pull request.
source - Information about the merge hunk in the source of a merge or pull request.default MergeHunk.Builder source(Consumer<MergeHunkDetail.Builder> source)
Information about the merge hunk in the source of a merge or pull request.
This is a convenience method that creates an instance of theMergeHunkDetail.Builder avoiding the
need to create one manually via MergeHunkDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to source(MergeHunkDetail).source - a consumer that will call methods on MergeHunkDetail.Buildersource(MergeHunkDetail)MergeHunk.Builder destination(MergeHunkDetail destination)
Information about the merge hunk in the destination of a merge or pull request.
destination - Information about the merge hunk in the destination of a merge or pull request.default MergeHunk.Builder destination(Consumer<MergeHunkDetail.Builder> destination)
Information about the merge hunk in the destination of a merge or pull request.
This is a convenience method that creates an instance of theMergeHunkDetail.Builder avoiding the
need to create one manually via MergeHunkDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to destination(MergeHunkDetail).destination - a consumer that will call methods on MergeHunkDetail.Builderdestination(MergeHunkDetail)MergeHunk.Builder base(MergeHunkDetail base)
Information about the merge hunk in the base of a merge or pull request.
base - Information about the merge hunk in the base of a merge or pull request.default MergeHunk.Builder base(Consumer<MergeHunkDetail.Builder> base)
Information about the merge hunk in the base of a merge or pull request.
This is a convenience method that creates an instance of theMergeHunkDetail.Builder avoiding the
need to create one manually via MergeHunkDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to base(MergeHunkDetail).base - a consumer that will call methods on MergeHunkDetail.Builderbase(MergeHunkDetail)Copyright © 2022. All rights reserved.