public final class SketchCheckerRunner extends BasicCheckerRunner
BasicCheckerRunner
. Generally it is
used in the MarvinSketch integration of Structure Checker API. DO NOT USE IT ANYWHERE ELSE!backgroundThread, molecule
Constructor and Description |
---|
SketchCheckerRunner(ConfigurationReader configurationReader)
Initiate a
SketchCheckerRunner instance which will can execute
StructureChecker instances read from configurationReader |
Modifier and Type | Method and Description |
---|---|
protected void |
convertResult(StructureCheckerResult result)
This method converts the result by changing the atoms and bonds back to the original instead
of the cloned ones
|
List<StructureFixer> |
getFixers(StructureCheckerResult result)
Returns all the
StructureFixer instances which associated with the
StructureCheckerErrorType of the result |
protected Molecule |
getMolecule()
Returns the molecule
|
void |
setMolecule(Molecule molecule)
Sets the molecule to be checked by the checkers
|
addPropertyChangeListener, addPropertyChangeListener, cancel, check, checkAndWait, fix, fix, getChangeSupport, getCheckerConfiguration, getCheckerList, getCurrent, getCurrentCheckerName, getIndex, getProgessLength, getResultList, getStrategy, isCanceled, isChecking, isDoodle, setCanceled, setChangeSupport, setCheckerList, setConfigurationReader, setDoodle, setIgnoreConfigurationErrors, setIndex, setResultList
public SketchCheckerRunner(ConfigurationReader configurationReader)
SketchCheckerRunner
instance which will can execute
StructureChecker
instances read from configurationReaderconfigurationReader
- a ConfigurationReader
instancepublic void setMolecule(Molecule molecule)
CheckerRunner
setMolecule
in interface CheckerRunner
setMolecule
in class BasicCheckerRunner
molecule
- a Molecule
instance to be checkedprotected Molecule getMolecule()
BasicCheckerRunner
getMolecule
in class BasicCheckerRunner
protected void convertResult(StructureCheckerResult result)
convertResult
in class BasicCheckerRunner
result
- is the StructureCheckerResult
instance to convertBasicCheckerRunner.convertResult(StructureCheckerResult)
public List<StructureFixer> getFixers(StructureCheckerResult result)
CheckerRunner
StructureFixer
instances which associated with the
StructureCheckerErrorType
of the resultgetFixers
in interface CheckerRunner
getFixers
in class BasicCheckerRunner
result
- a StructureCheckerResult
instance which identifies the current problemList
of StructureFixer