mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-25 12:07:05 +00:00
event type
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user