Package io.anyline.plugin.config
Class ContainerConfig
-
- All Implemented Interfaces:
public class ContainerConfig
Configuration for scanning shipping container numbers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ContainerConfig.ScanMode
Determines if container numbers shall be scanned horizontally or vertically.
-
Field Summary
Fields Modifier and Type Field Description public ContainerConfig.ScanMode
scanMode
public Integer
minConfidence
public String
validationRegex
-
Constructor Summary
Constructors Constructor Description ContainerConfig()
-
Method Summary
Modifier and Type Method Description ContainerConfig.ScanMode
getScanMode()
Determines if container numbers shall be scanned horizontally or vertically. void
setScanMode(ContainerConfig.ScanMode scanMode)
Determines if container numbers shall be scanned horizontally or vertically. 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 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
-
getScanMode
ContainerConfig.ScanMode getScanMode()
Determines if container numbers shall be scanned horizontally or vertically.
-
setScanMode
void setScanMode(ContainerConfig.ScanMode scanMode)
Determines if container numbers shall be scanned horizontally or vertically.
-
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 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()
-
-
-
-