Interface ConflictMetadata.Builder

    • Method Detail

      • filePath

        ConflictMetadata.Builder filePath​(String filePath)

        The path of the file that contains conflicts.

        Parameters:
        filePath - The path of the file that contains conflicts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileSizes

        ConflictMetadata.Builder fileSizes​(FileSizes fileSizes)

        The file sizes of the file in the source, destination, and base of the merge.

        Parameters:
        fileSizes - The file sizes of the file in the source, destination, and base of the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileModes

        ConflictMetadata.Builder fileModes​(FileModes fileModes)

        The file modes of the file in the source, destination, and base of the merge.

        Parameters:
        fileModes - The file modes of the file in the source, destination, and base of the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectTypes

        ConflictMetadata.Builder objectTypes​(ObjectTypes objectTypes)

        Information about any object type conflicts in a merge operation.

        Parameters:
        objectTypes - Information about any object type conflicts in a merge operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfConflicts

        ConflictMetadata.Builder numberOfConflicts​(Integer numberOfConflicts)

        The number of conflicts, including both hunk conflicts and metadata conflicts.

        Parameters:
        numberOfConflicts - The number of conflicts, including both hunk conflicts and metadata conflicts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isBinaryFile

        ConflictMetadata.Builder isBinaryFile​(IsBinaryFile isBinaryFile)

        A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

        Parameters:
        isBinaryFile - A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentConflict

        ConflictMetadata.Builder contentConflict​(Boolean contentConflict)

        A boolean value indicating whether there are conflicts in the content of a file.

        Parameters:
        contentConflict - A boolean value indicating whether there are conflicts in the content of a file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileModeConflict

        ConflictMetadata.Builder fileModeConflict​(Boolean fileModeConflict)

        A boolean value indicating whether there are conflicts in the file mode of a file.

        Parameters:
        fileModeConflict - A boolean value indicating whether there are conflicts in the file mode of a file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectTypeConflict

        ConflictMetadata.Builder objectTypeConflict​(Boolean objectTypeConflict)

        A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

        Parameters:
        objectTypeConflict - A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mergeOperations

        ConflictMetadata.Builder mergeOperations​(MergeOperations mergeOperations)

        Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

        Parameters:
        mergeOperations - Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.