org.archive.wayback.resourceindex.filters
Class BeanShellFilter

java.lang.Object
  extended by org.archive.wayback.resourceindex.filters.BeanShellFilter
All Implemented Interfaces:
ObjectFilter<CaptureSearchResult>

public class BeanShellFilter
extends Object
implements ObjectFilter<CaptureSearchResult>


Field Summary
 
Fields inherited from interface org.archive.wayback.util.ObjectFilter
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
 
Constructor Summary
BeanShellFilter()
           
 
Method Summary
 int filterObject(CaptureSearchResult o)
          inpect record and determine if it should be included in the results or not, or if processing of new records should stop.
 String getExpression()
           
 String getMethod()
           
 String getScriptPath()
           
 void setExpression(String expression)
           
 void setMethod(String method)
           
 void setScriptPath(String scriptPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanShellFilter

public BeanShellFilter()
Method Detail

filterObject

public int filterObject(CaptureSearchResult o)
Description copied from interface: ObjectFilter
inpect record and determine if it should be included in the results or not, or if processing of new records should stop.

Specified by:
filterObject in interface ObjectFilter<CaptureSearchResult>
Parameters:
o - Object which should be checked for inclusion/exclusion or abort
Returns:
int of FILTER_INCLUDE, FILTER_EXCLUDE, or FILTER_ABORT

getExpression

public String getExpression()

setExpression

public void setExpression(String expression)

getMethod

public String getMethod()

setMethod

public void setMethod(String method)

getScriptPath

public String getScriptPath()

setScriptPath

public void setScriptPath(String scriptPath)


Copyright © 2005-2011 Internet Archive. All Rights Reserved.