public static interface Conflict.Builder extends SdkPojo, CopyableBuilder<Conflict.Builder,Conflict>
| Modifier and Type | Method and Description |
|---|---|
Conflict.Builder |
conflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
|
default Conflict.Builder |
conflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata)
Metadata about a conflict in a merge operation.
|
Conflict.Builder |
mergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
Conflict.Builder |
mergeHunks(Consumer<MergeHunk.Builder>... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
Conflict.Builder |
mergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConflict.Builder conflictMetadata(ConflictMetadata conflictMetadata)
Metadata about a conflict in a merge operation.
conflictMetadata - Metadata about a conflict in a merge operation.default Conflict.Builder conflictMetadata(Consumer<ConflictMetadata.Builder> conflictMetadata)
Metadata about a conflict in a merge operation.
This is a convenience that creates an instance of theConflictMetadata.Builder avoiding the need to
create one manually via ConflictMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to conflictMetadata(ConflictMetadata).conflictMetadata - a consumer that will call methods on ConflictMetadata.BuilderconflictMetadata(ConflictMetadata)Conflict.Builder mergeHunks(Collection<MergeHunk> mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.Conflict.Builder mergeHunks(MergeHunk... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
mergeHunks - A list of hunks that contain the differences between files or lines causing the conflict.Conflict.Builder mergeHunks(Consumer<MergeHunk.Builder>... mergeHunks)
A list of hunks that contain the differences between files or lines causing the conflict.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #mergeHunks(List) .mergeHunks - a consumer that will call methods on List.Builder #mergeHunks(List) Copyright © 2020. All rights reserved.