Package qa.monitor
Class TimeWindowMatcher
java.lang.Object
qa.monitor.TimeDetectionMatcher
qa.monitor.TimeWindowMatcher
- All Implemented Interfaces:
DetectionMatcher<PamDataUnit>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
showSettings
(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:
hasSettings
in interfaceDetectionMatcher<PamDataUnit>
- Overrides:
hasSettings
in classTimeDetectionMatcher
- Returns:
- True if there is a settings dialog
-
showSettings
Description copied from interface:DetectionMatcher
show the settings dialog- Specified by:
showSettings
in interfaceDetectionMatcher<PamDataUnit>
- Overrides:
showSettings
in classTimeDetectionMatcher
- Parameters:
parentWindow
- parent window- Returns:
- true if settings were OK'd.
-
getName
- Specified by:
getName
in interfaceDetectionMatcher<PamDataUnit>
- Overrides:
getName
in classTimeDetectionMatcher
- Returns:
- The name of the match system
-
getDescription
- Specified by:
getDescription
in interfaceDetectionMatcher<PamDataUnit>
- Overrides:
getDescription
in classTimeDetectionMatcher
- Returns:
- a longer description, perhaps including any parameters describing how this is configured
-