Package org.spdx.compare
Class SpdxComparer.SPDXReviewDifference
java.lang.Object
org.spdx.compare.SpdxComparer.SPDXReviewDifference
- Enclosing class:
- SpdxComparer
public static class SpdxComparer.SPDXReviewDifference extends Object
Contains the results of a comparison between two SPDXReviews where
the reviewer name is the same but there is a difference in the
reviewer comment or the reviewer date
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description SPDXReviewDifference(SPDXReview spdxReview, SPDXReview spdxReview2) -
Method Summary
Modifier and Type Method Description StringgetComment(int i)Get the reviewer comment for one of the two reviews comparedStringgetDate(int i)Get the reviewer date for one of the two reviews comparedStringgetReviewer()booleanisCommentEqual()booleanisDateEqual()
-
Constructor Details
-
SPDXReviewDifference
- Parameters:
spdxReview-spdxReview2-
-
-
Method Details
-
isDateEqual
public boolean isDateEqual()- Returns:
- true of the dates are equal
-
getReviewer
- Returns:
-
getDate
Get the reviewer date for one of the two reviews compared- Parameters:
i- if 0, the review date of the first reviewer, if 1, it is the second reviewer- Returns:
- Throws:
SpdxCompareException
-
isCommentEqual
public boolean isCommentEqual()- Returns:
- true if comments are equal
-
getComment
Get the reviewer comment for one of the two reviews compared- Parameters:
i- if 0, the review date of the first reviewer, if 1, it is the second reviewer- Returns:
- Throws:
SpdxCompareException
-