com.ldodds.slug.http
Class DepthFilter

java.lang.Object
  extended bycom.ldodds.slug.framework.config.ComponentImpl
      extended bycom.ldodds.slug.http.URLTaskFilter
          extended bycom.ldodds.slug.http.DepthFilter
All Implemented Interfaces:
Component, TaskFilter

public class DepthFilter
extends URLTaskFilter


Field Summary
 
Fields inherited from class com.ldodds.slug.framework.config.ComponentImpl
_configured
 
Constructor Summary
DepthFilter()
           
DepthFilter(int depth)
           
 
Method Summary
 boolean acceptURL(URLTask task)
           
protected  boolean doConfig(Resource self)
           
 int getDepth()
           
 
Methods inherited from class com.ldodds.slug.http.URLTaskFilter
accept
 
Methods inherited from class com.ldodds.slug.framework.config.ComponentImpl
configure, isConfigured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ldodds.slug.framework.config.Component
configure, isConfigured
 

Constructor Detail

DepthFilter

public DepthFilter()

DepthFilter

public DepthFilter(int depth)
Method Detail

acceptURL

public boolean acceptURL(URLTask task)

doConfig

protected boolean doConfig(Resource self)
Overrides:
doConfig in class ComponentImpl

getDepth

public int getDepth()