Autopsy  4.0
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< SubFilterType extends Filter > Class Template Referenceabstract

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

Public Member Functions

 CompoundFilter (List< SubFilterType > subFilters)
 
BooleanBinding activeProperty ()
 
Filter copyOf ()
 
ObservableBooleanValue disabledProperty ()
 
String getDisplayName ()
 
String getHTMLReportString ()
 
String getStringCheckBox ()
 
final ObservableList< SubFilterType > getSubFilters ()
 
int hashCode ()
 
boolean isActive ()
 
boolean isDisabled ()
 
boolean isSelected ()
 
SimpleBooleanProperty selectedProperty ()
 
void setDisabled (Boolean act)
 
void setSelected (Boolean act)
 

Static Public Member Functions

static IntersectionFilter< Filterintersect (ObservableList< Filter > filters)
 
static IntersectionFilter< Filterintersect (Filter[] filters)
 

Private Member Functions

void addSubFilterListeners (List<?extends SubFilterType > newSubfilters)
 

Private Attributes

final ObservableList< SubFilterType > subFilters = FXCollections.observableArrayList()
 

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 44 of file CompoundFilter.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.CompoundFilter ( List< SubFilterType >  subFilters)

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

Parameters
subFilters

Definition at line 60 of file CompoundFilter.java.

Member Function Documentation

BooleanBinding org.sleuthkit.autopsy.timeline.filters.AbstractFilter.activeProperty ( )
inherited

Implements org.sleuthkit.autopsy.timeline.filters.Filter.

Definition at line 75 of file AbstractFilter.java.

void org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.addSubFilterListeners ( List<?extends SubFilterType >  newSubfilters)
private

Definition at line 79 of file CompoundFilter.java.

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.TextFilter, org.sleuthkit.autopsy.timeline.filters.TagNameFilter, org.sleuthkit.autopsy.timeline.filters.DataSourceFilter, org.sleuthkit.autopsy.timeline.filters.HashSetFilter, org.sleuthkit.autopsy.timeline.filters.DescriptionFilter, and org.sleuthkit.autopsy.timeline.filters.HideKnownFilter.

Referenced by org.sleuthkit.autopsy.timeline.filters.IntersectionFilter< Filter >.copyOf(), and org.sleuthkit.autopsy.timeline.filters.RootFilter.copyOf().

ObservableBooleanValue org.sleuthkit.autopsy.timeline.filters.AbstractFilter.disabledProperty ( )
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<SubFilterType> org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.getSubFilters ( )

Definition at line 51 of file CompoundFilter.java.

int org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.hashCode ( )

Definition at line 106 of file CompoundFilter.java.

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

Definition at line 37 of file Filter.java.

static IntersectionFilter<Filter> org.sleuthkit.autopsy.timeline.filters.Filter.intersect ( Filter[]  filters)
staticinherited
Parameters
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
boolean org.sleuthkit.autopsy.timeline.filters.AbstractFilter.isSelected ( )
inherited
SimpleBooleanProperty org.sleuthkit.autopsy.timeline.filters.AbstractFilter.selectedProperty ( )
inherited
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setDisabled ( Boolean  act)
inherited
void org.sleuthkit.autopsy.timeline.filters.AbstractFilter.setSelected ( Boolean  act)
inherited

Member Data Documentation

final ObservableList<SubFilterType> org.sleuthkit.autopsy.timeline.filters.CompoundFilter< SubFilterType extends Filter >.subFilters = FXCollections.observableArrayList()
private

the list of sub-filters that make up this filter

Definition at line 49 of file CompoundFilter.java.

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


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.