public class ObjectTypeFilter extends AbstractOCEventFilter
Constructor and Description |
---|
ObjectTypeFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ContentResult cResult,
java.util.HashMap<java.lang.String,java.lang.Object> additionalParams,
java.lang.String ticket)
Method to evaluate a filter, must return a boolean.
|
boolean |
getInvert()
Whether or not we are looking for the opposite of the result returned from
OCEventFilter.evaluate(ContentResult, HashMap, String) |
java.util.List<java.lang.String> |
getObjectTypes() |
void |
setInvert(boolean invert) |
void |
setObjectTypes(java.util.List<java.lang.String> objectTypes) |
evaluate
public boolean getInvert()
OCEventFilter
OCEventFilter.evaluate(ContentResult, HashMap, String)
public void setInvert(boolean invert)
public java.util.List<java.lang.String> getObjectTypes()
public void setObjectTypes(java.util.List<java.lang.String> objectTypes)
public boolean evaluate(ContentResult cResult, java.util.HashMap<java.lang.String,java.lang.Object> additionalParams, java.lang.String ticket)
OCEventFilter
cResult
- A nice wrapper object to contain document propertiesadditionalParams
- Additional properties (not on the object) that the filter can use to evaluate against