org.apache.manifoldcf.crawler.interfaces
Class FilterCriteria

java.lang.Object
  extended by org.apache.manifoldcf.crawler.interfaces.FilterCriteria

public class FilterCriteria
extends java.lang.Object

Class which describes specification of history records to include in a report.


Field Summary
static java.lang.String _rcsid
           
protected  java.lang.String[] activityTypes
          The set of activities to match.
protected  java.lang.Long endTime
          The highest time of interest, plus 1.
protected  RegExpCriteria entityMatch
          The regular expression string to match the entity identifier.
protected  RegExpCriteria resultCodeMatch
          The regular expression string to match the resultcode.
protected  java.lang.Long startTime
          The lowest time of interest.
 
Constructor Summary
FilterCriteria(java.lang.String[] activityTypes, java.lang.Long startTime, java.lang.Long endTime, RegExpCriteria entityMatch, RegExpCriteria resultCodeMatch)
          Constructor.
 
Method Summary
 java.lang.String[] getActivities()
          Get the desired activities criteria.
 java.lang.Long getEndTime()
          Get desired end time criteria.
 RegExpCriteria getEntityMatch()
          Get the regular expression to match the entity identifier.
 RegExpCriteria getResultCodeMatch()
          Get the regular expression to match the result code.
 java.lang.Long getStartTime()
          Get desired start time criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values

activityTypes

protected java.lang.String[] activityTypes
The set of activities to match.


startTime

protected java.lang.Long startTime
The lowest time of interest.


endTime

protected java.lang.Long endTime
The highest time of interest, plus 1.


entityMatch

protected RegExpCriteria entityMatch
The regular expression string to match the entity identifier.


resultCodeMatch

protected RegExpCriteria resultCodeMatch
The regular expression string to match the resultcode.

Constructor Detail

FilterCriteria

public FilterCriteria(java.lang.String[] activityTypes,
                      java.lang.Long startTime,
                      java.lang.Long endTime,
                      RegExpCriteria entityMatch,
                      RegExpCriteria resultCodeMatch)
Constructor.

Method Detail

getActivities

public java.lang.String[] getActivities()
Get the desired activities criteria.


getStartTime

public java.lang.Long getStartTime()
Get desired start time criteria.


getEndTime

public java.lang.Long getEndTime()
Get desired end time criteria.


getEntityMatch

public RegExpCriteria getEntityMatch()
Get the regular expression to match the entity identifier.


getResultCodeMatch

public RegExpCriteria getResultCodeMatch()
Get the regular expression to match the result code.