org.supermind.crawl.scope
Interface ScopeFilter<T>

All Known Implementing Classes:
MapFileContentSeenFilter, NutchUrlFLFilter, OneExternalLinkFLFilter, ParentPrefixPathFLFilter, SameParentHostFLFilter, SameParentPathFLFilter, SameParentTLDFLFilter, SizeConstrainedFLFilter, WebDBContentSeenFilter

public interface ScopeFilter<T>

Determines the scope of an operation. Filters must be thread-safe.


Field Summary
static int ABSTAIN
           
static int ALLOW
           
static int REJECT
           
 
Method Summary
 int filter(T t)
          Filter the input.
 

Field Detail

ABSTAIN

static final int ABSTAIN
See Also:
Constant Field Values

ALLOW

static final int ALLOW
See Also:
Constant Field Values

REJECT

static final int REJECT
See Also:
Constant Field Values
Method Detail

filter

int filter(T t)
Filter the input. Possible return values are ALLOW, REJECT and ABSTAIN.

Parameters:
t -
Returns: