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 CompoundFilter.java.

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.

Parameters
subFilters

Definition at line 43 of file CompoundFilter.java.

Member Function Documentation

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

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.

Returns
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(), org.sleuthkit.autopsy.timeline.events.FilteredEventsModel.FilteredEventsModel(), and org.sleuthkit.autopsy.timeline.TimeLineController.pushFilters().

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

Definition at line 38 of file Filter.java.

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

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

Definition at line 46 of file Filter.java.

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

Member Data Documentation

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

the list of sub-filters that make up this filter

Definition at line 33 of file CompoundFilter.java.

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.