Interface Location.Builder

    • Method Detail

      • filePath

        Location.Builder filePath​(String filePath)

        The name of the file being compared, including its extension and subdirectory, if any.

        Parameters:
        filePath - The name of the file being compared, including its extension and subdirectory, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filePosition

        Location.Builder filePosition​(Long filePosition)

        The position of a change in a compared file, in line number format.

        Parameters:
        filePosition - The position of a change in a compared file, in line number format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relativeFileVersion

        Location.Builder relativeFileVersion​(String relativeFileVersion)

        In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

        Parameters:
        relativeFileVersion - In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelativeFileVersionEnum, RelativeFileVersionEnum
      • relativeFileVersion

        Location.Builder relativeFileVersion​(RelativeFileVersionEnum relativeFileVersion)

        In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

        Parameters:
        relativeFileVersion - In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelativeFileVersionEnum, RelativeFileVersionEnum