public class BeanShellFilter extends Object implements ObjectFilter<CaptureSearchResult>
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
BeanShellFilter() |
Modifier and Type | Method and Description |
---|---|
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) |
public int filterObject(CaptureSearchResult o)
ObjectFilter
filterObject
in interface ObjectFilter<CaptureSearchResult>
o
- Object which should be checked for inclusion/exclusion or abortpublic String getExpression()
public void setExpression(String expression)
public String getMethod()
public void setMethod(String method)
public String getScriptPath()
public void setScriptPath(String scriptPath)
Copyright © 2005–2017 IIPC. All rights reserved.