Package io.anyline2.core
Class ScanController
-
- All Implemented Interfaces:
public class ScanController
-
-
Constructor Summary
Constructors Constructor Description ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback, boolean checkSchema)
ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback)
-
Method Summary
Modifier and Type Method Description synchronized void
delete()
static 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()
PluginType
getPluginType()
ResultType
getResultType()
void
validateJson(String jsonString, String pathToSchema, String schemaFileName)
-
-
-
Constructor Detail
-
ScanController
ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback, boolean checkSchema)
-
ScanController
ScanController(String jsonConfig, String assetPath, String schemaPath, PluginCallback callback)
-
-
Method Detail
-
delete
synchronized void delete()
-
getPluginTypeForJsonConfig
static 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
PluginType getPluginType()
-
getResultType
ResultType getResultType()
-
validateJson
void validateJson(String jsonString, String pathToSchema, String schemaFileName)
-
-