Package chemaxon.structurechecker
Interface StructureCheckerMonitor
Monitor for
CheckerRunner.- Since:
- 5.9
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFirstCheck(Molecule molecule, List<StructureCheckerResult> resultList) This method is called when theCheckerRunnerchecks a structure for the first time.voidonFix(Molecule originalMolecule, Molecule fixedMolecule, StructureCheckerResult checkerResult, StructureFixer appliedFixer, boolean fixResult) This method is called then theCheckerRunnerfixes a structure.voidonLastCheck(Molecule molecule, List<StructureCheckerResult> resultList) This method is called then theCheckerRunnerchecks a structure for the last time.
-
Method Details
-
onFirstCheck
This method is called when theCheckerRunnerchecks a structure for the first time.- Parameters:
molecule- the checked moleculeresultList- the result list
-
onFix
void onFix(Molecule originalMolecule, Molecule fixedMolecule, StructureCheckerResult checkerResult, StructureFixer appliedFixer, boolean fixResult) This method is called then theCheckerRunnerfixes a structure.- Parameters:
originalMolecule- the molecule before applying the fixfixedMolecule- after applying the fixcheckerResult- the checker resultappliedFixer- the fixer applied, ornullon manual fixfixResult- the result of the fixer, or the structure state after manual fix
-
onLastCheck
This method is called then theCheckerRunnerchecks a structure for the last time.- Parameters:
molecule- the result moleculeresultList- the remaining issues after all fixes applied
-