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 ofConfigurationReader
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
Constructors Constructor Description ActionStringBasedConfigurationReader(String configString)
Default constructorActionStringBasedConfigurationReader(String configString, StructureCheckerFactory checkerFactory, StructureFixerFactory fixerFactory)
Deprecated.ActionStringBasedConfigurationReader(String configString, chemaxon.structurechecker.factory.CheckerFixerFactory checkerFixerFactory)
Constructor with custom checker factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<StructureChecker>
getCheckerList()
Map<StructureCheckerErrorType,StructureFixer>
getErrorTypeDefaultFixerMap()
-
-
-
Constructor Detail
-
ActionStringBasedConfigurationReader
public ActionStringBasedConfigurationReader(String configString)
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, chemaxon.structurechecker.factory.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 Detail
-
getCheckerList
public List<StructureChecker> getCheckerList()
- Specified by:
getCheckerList
in interfaceConfigurationReader
- Returns:
- the
List
ofStructureChecker
instances which can be run by aCheckerRunner
instance
-
getErrorTypeDefaultFixerMap
public Map<StructureCheckerErrorType,StructureFixer> getErrorTypeDefaultFixerMap()
- Specified by:
getErrorTypeDefaultFixerMap
in interfaceConfigurationReader
- Returns:
- a
Map
which contains the association betweenStructureCheckerErrorType
andStructureFixer
instances
-
-