Package qa.monitor
Class TimeWindowMatcher
java.lang.Object
qa.monitor.TimeDetectionMatcher
qa.monitor.TimeWindowMatcher
- All Implemented Interfaces:
DetectionMatcher<PamDataUnit>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanbooleanshowSettings(Object parentWindow) show the settings dialogMethods inherited from class qa.monitor.TimeDetectionMatcher
getOverlap, getPostWindowMillis, getPreWindowMillis, setPostWindowMillis, setPreWindowMillis
-
Constructor Details
-
TimeWindowMatcher
public TimeWindowMatcher(long preWindowMillis, long postWindowMillis)
-
-
Method Details
-
hasSettings
public boolean hasSettings()- Specified by:
hasSettingsin interfaceDetectionMatcher<PamDataUnit>- Overrides:
hasSettingsin classTimeDetectionMatcher- Returns:
- True if there is a settings dialog
-
showSettings
Description copied from interface:DetectionMatchershow the settings dialog- Specified by:
showSettingsin interfaceDetectionMatcher<PamDataUnit>- Overrides:
showSettingsin classTimeDetectionMatcher- Parameters:
parentWindow- parent window- Returns:
- true if settings were OK'd.
-
getName
- Specified by:
getNamein interfaceDetectionMatcher<PamDataUnit>- Overrides:
getNamein classTimeDetectionMatcher- Returns:
- The name of the match system
-
getDescription
- Specified by:
getDescriptionin interfaceDetectionMatcher<PamDataUnit>- Overrides:
getDescriptionin classTimeDetectionMatcher- Returns:
- a longer description, perhaps including any parameters describing how this is configured
-