5677 update comments

This commit is contained in:
William Schaefer 2019-10-24 14:40:42 -04:00
parent 04f2227c9e
commit 98606fc471
2 changed files with 17 additions and 1 deletions

View File

@ -25,7 +25,6 @@ import javax.swing.JList;
import javax.swing.ListCellRenderer; import javax.swing.ListCellRenderer;
import org.openide.util.ImageUtilities; import org.openide.util.ImageUtilities;
import org.openide.util.NbBundle; import org.openide.util.NbBundle;
import org.sleuthkit.autopsy.corecomponents.DataResultViewerTable;
/** /**
* Class which displays a thumbnail and information for an image file. * Class which displays a thumbnail and information for an image file.

View File

@ -107,14 +107,31 @@ class ResultFile {
instances.add(duplicate); instances.add(duplicate);
} }
/**
* Get the aggregate score of this ResultFile. Calculated as the highest
* score among all instances it represents.
*
* @return The score of this ResultFile.
*/
DataResultViewerTable.Score getScore() { DataResultViewerTable.Score getScore() {
return currentScore; return currentScore;
} }
/**
* Get the description for the score assigned to this item.
*
* @return The score description of this ResultFile.
*/
String getScoreDescription() { String getScoreDescription() {
return scoreDescription; return scoreDescription;
} }
/**
* Get the aggregate deleted status of this ResultFile. A file is identified
* as deleted if all instances of it are deleted.
*
* @return The deleted status of this ResultFile.
*/
boolean getIsDeleted() { boolean getIsDeleted() {
return isDeleted; return isDeleted;
} }