Package org.spdx.tools.compare
Class PackageSheet
java.lang.Object
org.spdx.tools.compare.AbstractSheet
org.spdx.tools.compare.PackageSheet
public class PackageSheet extends AbstractSheet
Document level fields for comparison spreadsheet
Column1 is the document field name, column2 indicates if all docs are equal,
columns3 through columnN are document specific field values
- Author:
- Gary O'Neall
-
Field Summary
Fields inherited from class org.spdx.tools.compare.AbstractSheet
checkboxStyle, dateStyle, firstCellNum, firstRowNum, FONT_SIZE, greenWrapped, lastRowNum, redWrapped, sheet, workbook, yellowWrapped
-
Constructor Summary
Constructors Constructor Description PackageSheet(org.apache.poi.ss.usermodel.Workbook workbook, String sheetName)
-
Method Summary
Modifier and Type Method Description static void
create(org.apache.poi.ss.usermodel.Workbook wb, String sheetName)
protected String
exludeFilesToString(Collection<String> excludedFiles)
void
importCompareResults(org.spdx.utility.compare.SpdxComparer comparer, List<String> docNames)
String
verify()
Methods inherited from class org.spdx.tools.compare.AbstractSheet
addRow, clear, createCenterStyle, createHeaderStyle, createLeftWrapStyle, getFirstDataRow, getNumDataRows, getSheet, resizeRows
-
Field Details
-
FIELD_COL
protected static final int FIELD_COL- See Also:
- Constant Field Values
-
EQUALS_COL
protected static final int EQUALS_COL- See Also:
- Constant Field Values
-
FIRST_DOC_COL
protected static final int FIRST_DOC_COL- See Also:
- Constant Field Values
-
FIELD_HEADER_TEXT
- See Also:
- Constant Field Values
-
EQUALS_HEADER_TEXT
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_TEXT
- See Also:
- Constant Field Values
-
SUMMARY_FIELD_TEXT
- See Also:
- Constant Field Values
-
COPYRIGHT_FIELD_TEXT
- See Also:
- Constant Field Values
-
LICENSE_COMMENT_FIELD_TEXT
- See Also:
- Constant Field Values
-
DECLARED_LICENSE_FIELD_TEXT
- See Also:
- Constant Field Values
-
LICENSE_INFOS_FROM_FILES_FIELD_TEXT
- See Also:
- Constant Field Values
-
CONCLUDED_LICENSE_FIELD_TEXT
- See Also:
- Constant Field Values
-
SOURCEINFO_FIELD_TEXT
- See Also:
- Constant Field Values
-
CHECKSUM_FIELD_TEXT
- See Also:
- Constant Field Values
-
VERIFICATION_EXCLUDED_FIELD_TEXT
- See Also:
- Constant Field Values
-
VERIFICATION_FIELD_TEXT
- See Also:
- Constant Field Values
-
DOWNLOAD_FIELD_TEXT
- See Also:
- Constant Field Values
-
ORIGINATOR_FIELD_TEXT
- See Also:
- Constant Field Values
-
SUPPLIER_FIELD_TEXT
- See Also:
- Constant Field Values
-
FILE_NAME_FIELD_TEXT
- See Also:
- Constant Field Values
-
VERSION_FIELD_TEXT
- See Also:
- Constant Field Values
-
PACKAGE_NAME_FIELD_TEXT
- See Also:
- Constant Field Values
-
DIFFERENT_STRING
- See Also:
- Constant Field Values
-
EQUAL_STRING
- See Also:
- Constant Field Values
-
MISSING_STRING
- See Also:
- Constant Field Values
-
HOMEPAGE_FIELD_TEXT
- See Also:
- Constant Field Values
-
ID_FIELD_TEXT
- See Also:
- Constant Field Values
-
ANNOTATION_FIELD_TEXT
- See Also:
- Constant Field Values
-
RELATIONSHIPS_FIELD_TEXT
- See Also:
- Constant Field Values
-
ATTRIBUTION_FIELD_TEXT
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PackageSheet
- Parameters:
workbook
-sheetName
-
-
-
Method Details
-
verify
- Specified by:
verify
in classAbstractSheet
-
create
- Parameters:
wb
-sheetName
-
-
importCompareResults
public void importCompareResults(org.spdx.utility.compare.SpdxComparer comparer, List<String> docNames) throws org.spdx.utility.compare.SpdxCompareException, org.spdx.library.InvalidSPDXAnalysisException- Parameters:
comparer
-docNames
-- Throws:
org.spdx.library.InvalidSPDXAnalysisException
org.spdx.utility.compare.SpdxCompareException
-
exludeFilesToString
- Parameters:
excludedFiles
-- Returns:
-