Package io.anyline.plugin.config
Class TireSizeConfig
-
- All Implemented Interfaces:
public class TireSizeConfig
Configuration for scanning Tire Size Specifications
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
TireSizeConfig.UpsideDownMode
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
Field Summary
Fields Modifier and Type Field Description public TireSizeConfig.UpsideDownMode
upsideDownMode
public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description TireSizeConfig()
-
Method Summary
Modifier and Type Method Description TireSizeConfig.UpsideDownMode
getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. void
setUpsideDownMode(TireSizeConfig.UpsideDownMode upsideDownMode)
Sets whether the text shall also be scanned upside-down. Integer
getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result. void
setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result. String
getValidationRegex()
Sets a regular expression which the tire size text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the tire size text needs to match in order to trigger a scan result. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getUpsideDownMode
TireSizeConfig.UpsideDownMode getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
setUpsideDownMode
void setUpsideDownMode(TireSizeConfig.UpsideDownMode upsideDownMode)
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
getMinConfidence
Integer getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
setMinConfidence
void setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
getValidationRegex
String getValidationRegex()
Sets a regular expression which the tire size text needs to match in order to trigger a scan result.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the tire size text needs to match in order to trigger a scan result.
-
hashCode
int hashCode()
-
-
-
-