Class ActionStringBasedConfigurationReader
java.lang.Object
chemaxon.checkers.runner.configuration.reader.ActionStringBasedConfigurationReader
- All Implemented Interfaces:
ConfigurationReader
@PublicApi
public class ActionStringBasedConfigurationReader
extends Object
implements ConfigurationReader
An implementation of
ConfigurationReader
for parsing action strings- Since:
- Marvin 5.4
-
Field Summary
Fields inherited from interface chemaxon.checkers.runner.configuration.reader.ConfigurationReader
DEFAULT_CHECKERS_CONFIG_PATH, DEFAULT_USER_CHECKER_FILENAME, USER_CHECKERS_CONFIG_PATH
-
Constructor Summary
ConstructorDescriptionActionStringBasedConfigurationReader
(String configString) Default constructorActionStringBasedConfigurationReader
(String configString, StructureCheckerFactory checkerFactory, StructureFixerFactory fixerFactory) Deprecated.ActionStringBasedConfigurationReader
(String configString, CheckerFixerFactory checkerFixerFactory) Constructor with custom checker factory -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ActionStringBasedConfigurationReader
Default constructor- Parameters:
configString
- aString
which contains the configurations described in action string
-
ActionStringBasedConfigurationReader
@Deprecated public ActionStringBasedConfigurationReader(String configString, StructureCheckerFactory checkerFactory, StructureFixerFactory fixerFactory) Deprecated.Constructor with custom checker factory- Parameters:
configString
- aString
which contains the configurations described in action stringcheckerFactory
- a customStructureCheckerFactory
which gives the possibility for this instance to be able to recognize configuration contains custom implementedStructureChecker
instancesfixerFactory
- a customStructureFixerFactory
which gives the possibility for this instance to be able to recognize configuration contains custom implementedStructureFixer
instances
-
ActionStringBasedConfigurationReader
public ActionStringBasedConfigurationReader(String configString, CheckerFixerFactory checkerFixerFactory) Constructor with custom checker factory- Parameters:
configString
- aString
which contains the configurations described in action stringcheckerFixerFactory
- a customCheckerFixerFactory
which gives the possibility for this instance to be able to recognize configuration contains custom implementedStructureChecker
andStructureFixer
instances
-
-
Method Details
-
getCheckerList
- Specified by:
getCheckerList
in interfaceConfigurationReader
- Returns:
- the
List
ofStructureChecker
instances which can be run by aCheckerRunner
instance
-
getErrorTypeDefaultFixerMap
- Specified by:
getErrorTypeDefaultFixerMap
in interfaceConfigurationReader
- Returns:
- a
Map
which contains the association betweenStructureCheckerErrorType
andStructureFixer
instances
-
ActionStringBasedConfigurationReader(String, CheckerFixerFactory)
instead