Package io.anyline.plugin.config
Class CommercialTireIdConfig
-
- All Implemented Interfaces:
public class CommercialTireIdConfig
Configuration for scanning commercial Tire IDs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
CommercialTireIdConfig.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 CommercialTireIdConfig.UpsideDownMode
upsideDownMode
public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description CommercialTireIdConfig()
-
Method Summary
Modifier and Type Method Description CommercialTireIdConfig.UpsideDownMode
getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. void
setUpsideDownMode(CommercialTireIdConfig.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 commercial tire id text needs to match in order to trigger a scan result. void
setValidationRegex(String validationRegex)
Sets a regular expression which the commercial tire id text needs to match in order to trigger a scan result. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getUpsideDownMode
CommercialTireIdConfig.UpsideDownMode getUpsideDownMode()
Sets whether the text shall also be scanned upside-down. By default, it is disabled.
-
setUpsideDownMode
void setUpsideDownMode(CommercialTireIdConfig.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 commercial tire id text needs to match in order to trigger a scan result.
-
setValidationRegex
void setValidationRegex(String validationRegex)
Sets a regular expression which the commercial tire id text needs to match in order to trigger a scan result.
-
hashCode
int hashCode()
-
-
-
-