Class DiffLineDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • baseLine

        public DiffLineDetails.Builder baseLine​(Integer baseLine)
        The number of a line in the base version.
        Parameters:
        baseLine - the value to set
        Returns:
        this builder
      • targetLine

        public DiffLineDetails.Builder targetLine​(Integer targetLine)
        The number of a line in the target version.
        Parameters:
        targetLine - the value to set
        Returns:
        this builder
      • lineContent

        public DiffLineDetails.Builder lineContent​(String lineContent)
        The contents of a line.
        Parameters:
        lineContent - the value to set
        Returns:
        this builder
      • conflictMarker

        public DiffLineDetails.Builder conflictMarker​(DiffLineDetails.ConflictMarker conflictMarker)
        Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section.
        Parameters:
        conflictMarker - the value to set
        Returns:
        this builder