Class ReviewComment

  • Direct Known Subclasses:
    ImmutableReviewComment

    @Immutable
    public abstract class ReviewComment
    extends Object
    Comment parameters for a draft review.
    See Also:
    "https://developer.github.com/v3/pulls/reviews/#input"
    • Constructor Detail

      • ReviewComment

        public ReviewComment()
    • Method Detail

      • path

        public abstract String path()
        Relative path to the file that necessitates a review comment.
        Returns:
        the path to the file.
      • position

        public abstract int position()
        Position in the diff where you want to add a review comment.
        Returns:
        the position in the diff.
      • body

        public abstract String body()
        Text of the review comment.
        Returns:
        the text of the review.