cdx.scorebot.app.auditor
Class Filterer

java.lang.Object
  extended by cdx.scorebot.app.auditor.Filterer

public class Filterer
extends java.lang.Object

Author:
David Underhill

Field Summary
 boolean doResult
           
protected static boolean FILTER_OUT
           
protected static boolean KEEP
           
 int resultIndex
           
 java.util.regex.Pattern resultRegExp
           
 java.lang.String resultValueTxt
           
 
Constructor Summary
Filterer(AuditorGUI auditorGUI)
           
 
Method Summary
 boolean doFilterOption()
           
 boolean doFilterResult()
           
 boolean doFilterTestItem()
           
 boolean filterCompTime(Timestamp timestamp)
           
 boolean filterName(java.lang.String name)
           
 boolean filterOption(TestEvent te, java.lang.String optionName)
           
 boolean filterReportedState(boolean isReported)
           
 boolean filterReportTime(Timestamp timestamp)
           
 boolean filterResult(TestEvent te, java.lang.String resultName)
           
 boolean filterScore(int score)
           
 boolean filterSuite(TestSuite ts)
           
 boolean filterTestItem(TestItem ti)
           
 void loadFromGUI()
           
protected  void setOwner(AuditorGUI g)
           
 void syncToGUI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_OUT

protected static final boolean FILTER_OUT
See Also:
Constant Field Values

KEEP

protected static final boolean KEEP
See Also:
Constant Field Values

doResult

public boolean doResult

resultIndex

public int resultIndex

resultValueTxt

public java.lang.String resultValueTxt

resultRegExp

public java.util.regex.Pattern resultRegExp
Constructor Detail

Filterer

public Filterer(AuditorGUI auditorGUI)
Method Detail

setOwner

protected void setOwner(AuditorGUI g)

filterCompTime

public boolean filterCompTime(Timestamp timestamp)

filterReportTime

public boolean filterReportTime(Timestamp timestamp)

filterReportedState

public boolean filterReportedState(boolean isReported)

filterName

public boolean filterName(java.lang.String name)

filterScore

public boolean filterScore(int score)

filterSuite

public boolean filterSuite(TestSuite ts)

doFilterTestItem

public boolean doFilterTestItem()

filterTestItem

public boolean filterTestItem(TestItem ti)

doFilterOption

public boolean doFilterOption()

filterOption

public boolean filterOption(TestEvent te,
                            java.lang.String optionName)

doFilterResult

public boolean doFilterResult()

filterResult

public boolean filterResult(TestEvent te,
                            java.lang.String resultName)

loadFromGUI

public void loadFromGUI()

syncToGUI

public void syncToGUI()