public class

CategoryExplorerLogRecordFilter

extends Object
implements LogRecordFilter
java.lang.Object
   ↳ org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerLogRecordFilter

Class Overview

An implementation of LogRecordFilter based on a CategoryExplorerModel

Summary

Fields
protected CategoryExplorerModel _model
Public Constructors
CategoryExplorerLogRecordFilter(CategoryExplorerModel model)
Public Methods
boolean passes(LogRecord record)
void reset()
Resets the counters for the contained CategoryNodes to zero.
Protected Methods
void resetAllNodes()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.log4j.lf5.LogRecordFilter

Fields

protected CategoryExplorerModel _model

Public Constructors

public CategoryExplorerLogRecordFilter (CategoryExplorerModel model)

Public Methods

public boolean passes (LogRecord record)

Returns
  • true if the CategoryExplorer model specified at construction is accepting the category of the specified LogRecord. Has a side-effect of adding the CategoryPath of the LogRecord to the explorer model if the CategoryPath is new.

public void reset ()

Resets the counters for the contained CategoryNodes to zero.

Protected Methods

protected void resetAllNodes ()