mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
strip redundant method declarations form MultiEvent interface
This commit is contained in:
parent
ef84522933
commit
8bedda716a
@ -19,37 +19,16 @@
|
|||||||
package org.sleuthkit.autopsy.timeline.datamodel;
|
package org.sleuthkit.autopsy.timeline.datamodel;
|
||||||
|
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import java.util.Set;
|
|
||||||
import java.util.SortedSet;
|
import java.util.SortedSet;
|
||||||
import org.sleuthkit.autopsy.timeline.datamodel.eventtype.EventType;
|
|
||||||
import org.sleuthkit.autopsy.timeline.zooming.DescriptionLoD;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A interface for groups of events that share some attributes in common.
|
* A interface for groups of events that share some attributes in common.
|
||||||
*/
|
*/
|
||||||
public interface MultiEvent<ParentType extends MultiEvent<?>> extends TimeLineEvent {
|
public interface MultiEvent<ParentType extends MultiEvent<?>> extends TimeLineEvent {
|
||||||
|
|
||||||
String getDescription();
|
|
||||||
|
|
||||||
DescriptionLoD getDescriptionLoD();
|
|
||||||
|
|
||||||
Set<Long> getEventIDs();
|
|
||||||
|
|
||||||
Set<Long> getEventIDsWithHashHits();
|
|
||||||
|
|
||||||
Set<Long> getEventIDsWithTags();
|
|
||||||
|
|
||||||
EventType getEventType();
|
|
||||||
|
|
||||||
long getEndMillis();
|
long getEndMillis();
|
||||||
|
|
||||||
long getStartMillis();
|
|
||||||
|
|
||||||
Optional<ParentType> getParent();
|
Optional<ParentType> getParent();
|
||||||
|
|
||||||
default int getSize() {
|
|
||||||
return getEventIDs().size();
|
|
||||||
}
|
|
||||||
|
|
||||||
SortedSet<EventCluster> getClusters();
|
SortedSet<EventCluster> getClusters();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user