Interface StructureCheckerMonitor


@PublicApi public interface StructureCheckerMonitor
Monitor for CheckerRunner.
Since:
5.9
  • Method Details

    • onFirstCheck

      void onFirstCheck(Molecule molecule, List<StructureCheckerResult> resultList)
      This method is called when the CheckerRunner checks a structure for the first time.
      Parameters:
      molecule - the checked molecule
      resultList - the result list
    • onFix

      void onFix(Molecule originalMolecule, Molecule fixedMolecule, StructureCheckerResult checkerResult, StructureFixer appliedFixer, boolean fixResult)
      This method is called then the CheckerRunner fixes a structure.
      Parameters:
      originalMolecule - the molecule before applying the fix
      fixedMolecule - after applying the fix
      checkerResult - the checker result
      appliedFixer - the fixer applied, or null on manual fix
      fixResult - the result of the fixer, or the structure state after manual fix
    • onLastCheck

      void onLastCheck(Molecule molecule, List<StructureCheckerResult> resultList)
      This method is called then the CheckerRunner checks a structure for the last time.
      Parameters:
      molecule - the result molecule
      resultList - the remaining issues after all fixes applied