Autopsy  3.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.filters.CompoundFilter Class Referenceabstract

Inherits org.sleuthkit.autopsy.timeline.filters.AbstractFilter.

Inherited by org.sleuthkit.autopsy.timeline.filters.IntersectionFilter, and org.sleuthkit.autopsy.timeline.filters.UnionFilter.

Public Member Functions

final ObservableList< FiltergetSubFilters ()
 CompoundFilter (ObservableList< Filter > subFilters)
SimpleBooleanProperty getActiveProperty ()
SimpleBooleanProperty getDisabledProperty ()
void setActive (Boolean act)
boolean isActive ()
void setDisabled (Boolean act)
boolean isDisabled ()
String getStringCheckBox ()
Filter copyOf ()
String getDisplayName ()
String getHTMLReportString ()

Static Public Member Functions

static Filter getDefaultFilter ()
static IntersectionFilter intersect (ObservableList< Filter > filters)
static IntersectionFilter intersect (Filter[] filters)

Private Member Functions

void addListeners (List<?extends Filter > newSubfilters)

Private Attributes

final ObservableList< FiltersubFilters

Detailed Description

A Filter with a collection of Filter sub-filters. If this filter is not active than none of its sub-filters are applied either. Concrete implementations can decide how to combine the sub-filters.

a CompoundFilter uses listeners to enforce the following relationships between it and its sub-filters:

<le>if a filter becomes active, and all its sub-filters were inactive, make them all active</le> <le>if a filter becomes inactive and all its sub-filters were active, make them all inactive</le> <le>if a sub-filter changes active state set the parent filter active if any of its sub-filters are active.</le>

Definition at line 30 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.filters.CompoundFilter.CompoundFilter ( ObservableList< Filter subFilters)

construct a compound filter from a list of other filters to combine.


Definition at line 43 of file

Member Function Documentation

void org.sleuthkit.autopsy.timeline.filters.CompoundFilter.addListeners ( List<?extends Filter newSubfilters)
Filter org.sleuthkit.autopsy.timeline.filters.Filter.copyOf ( )

since filters have mutable state (active) and are observed in various places, we need a mechanism to copy the current state to keep in history.

Concrete subtasks should implement this in a way that preserves the active state and any subfilters.

a copy of this filter.

Implemented in org.sleuthkit.autopsy.timeline.filters.TypeFilter, org.sleuthkit.autopsy.timeline.filters.TextFilter, org.sleuthkit.autopsy.timeline.filters.HideKnownFilter, and org.sleuthkit.autopsy.timeline.filters.IntersectionFilter.

Referenced by org.sleuthkit.autopsy.timeline.filters.IntersectionFilter.copyOf(), org.sleuthkit.autopsy.timeline.filters.TypeFilter.copyOf(),, and org.sleuthkit.autopsy.timeline.TimeLineController.pushFilters().

SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.getActiveProperty ( )
static Filter org.sleuthkit.autopsy.timeline.filters.Filter.getDefaultFilter ( )
SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.getDisabledProperty ( )
String org.sleuthkit.autopsy.timeline.filters.Filter.getDisplayName ( )
String org.sleuthkit.autopsy.timeline.filters.Filter.getHTMLReportString ( )
String org.sleuthkit.autopsy.timeline.filters.AbstractFilter.getStringCheckBox ( )
final ObservableList<Filter> org.sleuthkit.autopsy.timeline.filters.CompoundFilter.getSubFilters ( )
static IntersectionFilter org.sleuthkit.autopsy.timeline.filters.Filter.intersect ( ObservableList< Filter filters)
<S>the type of the given filters
filtersa set of filters to intersect
a filter that is the intersection of the given filters

Definition at line 38 of file

Referenced by org.sleuthkit.autopsy.timeline.filters.Filter.getDefaultFilter(),, and org.sleuthkit.autopsy.timeline.ui.detailview.AggregateEventNode.loadSubClusters().

static IntersectionFilter org.sleuthkit.autopsy.timeline.filters.Filter.intersect ( Filter[]  filters)
<S>the type of the given filters
filtersa set of filters to intersect
a filter that is the intersection of the given filters

Definition at line 46 of file

boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isActive ( )
boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isDisabled ( )
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setActive ( Boolean  act)
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setDisabled ( Boolean  act)

Member Data Documentation

final ObservableList<Filter> org.sleuthkit.autopsy.timeline.filters.CompoundFilter.subFilters

the list of sub-filters that make up this filter

Definition at line 33 of file

Referenced by org.sleuthkit.autopsy.timeline.filters.CompoundFilter.getSubFilters().

The documentation for this class was generated from the following file:

Copyright © 2012-2015 Basis Technology. Generated on: Mon Oct 19 2015
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.