jsystem.extensions.analyzers.text
Class CheckCounter
java.lang.Object
jsystem.framework.analyzer.AnalyzerParameterImpl
jsystem.extensions.analyzers.text.AnalyzeTextParameter
jsystem.extensions.analyzers.text.CheckCounter
- All Implemented Interfaces:
- AnalyzerParameter
- public class CheckCounter
- extends AnalyzeTextParameter
Analyzer for int text counters.
For example:
In packets : 500
Out packets: 100
CRC errors : 0
The abouve text can be analyze the counter will be 'In packets',
The expected value will be 500.
This class support deviation as well.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckCounter
public CheckCounter(String counter,
int expectedValue,
int deviation)
CheckCounter
public CheckCounter(String counter,
int expectedValue)
analyze
public void analyze()
- Description copied from interface:
AnalyzerParameter
- The analyze process.
getCounter
public int getCounter()