Package io.anyline2.core
Class ScanController
-
- All Implemented Interfaces:
public class ScanController
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ScanController.PluginType
public enum
ScanController.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 void
delete()
static ScanController.PluginType
getPluginTypeForJsonConfig(String jsonConfig)
void
setROI(ROI roi)
ROI
getROI()
void
setAssetPath(String assetPath)
void
addReportingValues(String reportingValues)
void
process(AnylineImage frame, boolean runSynchronized)
boolean
isProcessing()
void
cancel()
String
getID()
ScanController.PluginType
getPluginType()
ScanController.ResultType
getResultType()
String
getKPluginConfigSchemaFileName()
String
getKPluginResultSchemaFileName()
void
validateJson(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)
-
-
-
-