nu.datafuel.analysis.filter
Class AbstractFilter

java.lang.Object
  extended bynu.datafuel.analysis.filter.AbstractFilter
All Implemented Interfaces:
java.lang.Cloneable, Filter, java.io.Serializable
Direct Known Subclasses:
AttributeFilter, MethodFilter, NameFilter, NameFilter_1, ReferenceFilter, ThreadFilter

public abstract class AbstractFilter
extends java.lang.Object
implements Filter, java.lang.Cloneable

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 java.util.Map config
           
 boolean enabled
           
 java.lang.String name
          Creates a new instance of BasicFilter
 
Constructor Summary
AbstractFilter()
          Creates a new AbstractFilter object.
AbstractFilter(java.lang.String name)
          Creates a new AbstractFilter object.
 
Method Summary
abstract  boolean accept(AbstractEntry entry)
           
 java.lang.Object clone()
           
abstract  void configure()
           
 boolean equals(java.lang.Object o)
           
abstract  java.util.Map getConfig()
           
 java.lang.String getName()
           
 boolean isEnabled()
          Getter for property enabled.
 void setConfig(java.util.Map config)
           
 void setEnabled(boolean enabled)
          Setter for property enabled.
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

config

public java.util.Map config

name

public java.lang.String name
Creates a new instance of BasicFilter


enabled

public boolean enabled
Constructor Detail

AbstractFilter

public AbstractFilter()
Creates a new AbstractFilter object.


AbstractFilter

public AbstractFilter(java.lang.String name)
Creates a new AbstractFilter object.

Parameters:
name - .
Method Detail

setConfig

public void setConfig(java.util.Map config)
Parameters:
config - .

getConfig

public abstract java.util.Map getConfig()
Returns:
.

accept

public abstract boolean accept(AbstractEntry entry)
Specified by:
accept in interface Filter
Parameters:
entry - .
Returns:
.

configure

public abstract void configure()
                        throws java.lang.Exception
Throws:
java.lang.Exception - .

setEnabled

public void setEnabled(boolean enabled)
Setter for property enabled.

Parameters:
enabled - New value of property enabled.

isEnabled

public boolean isEnabled()
Getter for property enabled.

Returns:
Value of property enabled.

setName

public void setName(java.lang.String name)
Parameters:
name - .

getName

public java.lang.String getName()
Specified by:
getName in interface Filter
Returns:
.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns:
.
Throws:
java.lang.CloneNotSupportedException - .

toString

public java.lang.String toString()
Returns:
.

equals

public boolean equals(java.lang.Object o)