Package io.anyline2.core
Class ScanController
-
- All Implemented Interfaces:
public class ScanController
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumScanController.PluginTypepublic enumScanController.ResultType
-
Constructor Summary
Constructors Constructor Description ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback, NetworkInterface network)
-
Method Summary
Modifier and Type Method Description synchronized voiddelete()static ScanController.PluginTypegetPluginTypeForJsonConfig(String jsonConfig)voidsetROI(ROI roi)ROIgetROI()voidsetAssetPath(String assetPath)voidaddReportingValues(String reportingValues)voidprocess(AnylineImage frame, boolean runSynchronized)booleanisProcessing()voidcancel()StringgetID()ScanController.PluginTypegetPluginType()ScanController.ResultTypegetResultType()StringgetKPluginConfigSchemaFileName()StringgetKPluginResultSchemaFileName()voidvalidateJson(String jsonString, String pathToSchema, String schemaFileName)-
-
Constructor Detail
-
ScanController
ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback, NetworkInterface network)
-
-
Method Detail
-
delete
synchronized void delete()
-
getPluginTypeForJsonConfig
static ScanController.PluginType getPluginTypeForJsonConfig(String jsonConfig)
-
setAssetPath
void setAssetPath(String assetPath)
-
addReportingValues
void addReportingValues(String reportingValues)
-
process
void process(AnylineImage frame, boolean runSynchronized)
-
isProcessing
boolean isProcessing()
-
cancel
void cancel()
-
getPluginType
ScanController.PluginType getPluginType()
-
getResultType
ScanController.ResultType getResultType()
-
getKPluginConfigSchemaFileName
String getKPluginConfigSchemaFileName()
-
getKPluginResultSchemaFileName
String getKPluginResultSchemaFileName()
-
validateJson
void validateJson(String jsonString, String pathToSchema, String schemaFileName)
-
-
-
-