Package io.anyline.plugin.config
Class OdometerConfig
-
- All Implemented Interfaces:
public class OdometerConfig
Configuration for scanning odometers
-
-
Field Summary
Fields Modifier and Type Field Description public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description OdometerConfig()
-
Method Summary
Modifier and Type Method Description Integer
getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. void
setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. String
getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getMinConfidence
Integer getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. Defaults to 60.
-
setMinConfidence
void setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.The value has to be between 0 and 100. Defaults to 60.
-
getValidationRegex
String getValidationRegex()
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
-
hashCode
int hashCode()
-
-
-
-