Class DiffResponse.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • areAllChangesIncluded

        public DiffResponse.Builder areAllChangesIncluded​(Boolean areAllChangesIncluded)
        Boolean value to indicate if all changes are included in the response.
        Parameters:
        areAllChangesIncluded - the value to set
        Returns:
        this builder
      • changeTypeCount

        public DiffResponse.Builder changeTypeCount​(Map<String,​Integer> changeTypeCount)
        Count of each type of change in difference.
        Parameters:
        changeTypeCount - the value to set
        Returns:
        this builder
      • commonCommit

        public DiffResponse.Builder commonCommit​(String commonCommit)
        The ID of the common commit between source and target.
        Parameters:
        commonCommit - the value to set
        Returns:
        this builder
      • commitsAheadCount

        public DiffResponse.Builder commitsAheadCount​(Integer commitsAheadCount)
        The number of commits source is ahead of target by.
        Parameters:
        commitsAheadCount - the value to set
        Returns:
        this builder
      • commitsBehindCount

        public DiffResponse.Builder commitsBehindCount​(Integer commitsBehindCount)
        The number of commits source is behind target by.
        Parameters:
        commitsBehindCount - the value to set
        Returns:
        this builder
      • addedLinesCount

        public DiffResponse.Builder addedLinesCount​(Integer addedLinesCount)
        The number of lines added in whole difference.
        Parameters:
        addedLinesCount - the value to set
        Returns:
        this builder
      • deletedLinesCount

        public DiffResponse.Builder deletedLinesCount​(Integer deletedLinesCount)
        The number of lines deleted in whole difference.
        Parameters:
        deletedLinesCount - the value to set
        Returns:
        this builder