event type

This commit is contained in:
Greg DiCristofaro
2021-11-11 14:02:12 -05:00
parent aa7d009a56
commit 2a199a64bb
3 changed files with 7 additions and 2 deletions
@@ -29,7 +29,7 @@ import java.util.List;
abstract class AbstractDAO {
/**
* Clear any cached data (Due to change in view
* Clear any cached data (Due to change in view).
*/
abstract void clearCaches();
@@ -67,5 +67,8 @@ public class BlackboardArtifactEvent implements DAOEvent {
return true;
}
@Override
public Type getType() {
return Type.RESULT;
}
}
@@ -22,5 +22,7 @@ package org.sleuthkit.autopsy.mainui.datamodel.events;
* An event emitted by the DAO.
*/
public interface DAOEvent {
public enum Type { TREE, RESULT }
DAOEvent.Type getType();
}