|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.checkers.runner.CheckerRunnerImpl
@Deprecated public class CheckerRunnerImpl
The default implementation of CheckerRunner interface.
| Constructor Summary | |
|---|---|
CheckerRunnerImpl(ConfigurationReader configurationReader)
Deprecated. Initiate a CheckerRunnerImpl instance which will can execute StructureChecker instances read from
configurationReader |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener changeListener)
Deprecated. Adds a PropertyChangeListener that will receive all the PropertyChangeEvent fired by this class |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Deprecated. Adds a PropertyChangeListener that will receive the PropertyChangeEvent fired when the property with
the given name is changed |
void |
cancel()
Deprecated. Stops the background thread |
void |
check()
Deprecated. Invoke a background thread which will run all checkers on the given molecule |
java.util.List<StructureCheckerResult> |
checkAndWait()
Deprecated. Execute all the checker instances on the given molecule and return a List of StructureCheckerResult
which contains all the identified problems |
boolean |
fix()
Deprecated. Runs all StructureChecker on the given molecule and after that fixes all
identified problems with the first StructureFixer which is associated with the current problem. |
boolean |
fix(StructureCheckerResult result)
Deprecated. Fixes the problem identified by result with the first StructureFixer which
is associated with the StructureCheckerErrorType of the result. |
int |
getCurrent()
Deprecated. |
java.lang.String |
getCurrentCheckerName()
Deprecated. |
java.util.List<StructureFixer> |
getFixers(StructureCheckerResult result)
Deprecated. Returns all the StructureFixer instances which associated with the
StructureCheckerErrorType of the result |
int |
getProgessLength()
Deprecated. |
java.util.List<StructureCheckerResult> |
getResultList()
Deprecated. |
boolean |
isChecking()
Deprecated. This function identifies the state of the checker thread |
void |
setConfigurationReader(ConfigurationReader reader)
Deprecated. Sets a new configuration for the Runner. |
void |
setMolecule(Molecule molecule)
Deprecated. Sets the molecule to be checked by the checkers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckerRunnerImpl(ConfigurationReader configurationReader)
CheckerRunnerImpl instance which will can execute StructureChecker instances read from
configurationReader
configurationReader - a ConfigurationReader instance| Method Detail |
|---|
public void setConfigurationReader(ConfigurationReader reader)
CheckerRunner
setConfigurationReader in interface CheckerRunnerreader - is the ConfigurationReader instance which provides the current configuraitonpublic void check()
CheckerRunner
check in interface CheckerRunnerpublic java.util.List<StructureCheckerResult> checkAndWait()
CheckerRunnerList of StructureCheckerResult
which contains all the identified problems
checkAndWait in interface CheckerRunnerList of StructureCheckerResult which contains all the
identified problem about the given moleculepublic void cancel()
CheckerRunner
cancel in interface CheckerRunnerpublic boolean isChecking()
CheckerRunner
isChecking in interface CheckerRunnerpublic int getCurrent()
getCurrent in interface CheckerRunnerpublic java.lang.String getCurrentCheckerName()
getCurrentCheckerName in interface CheckerRunnerStructureChecker instance run currentlypublic int getProgessLength()
getProgessLength in interface CheckerRunnerpublic java.util.List<StructureCheckerResult> getResultList()
getResultList in interface CheckerRunnerList of StructureCheckerResult which contains all the
dentified problem about the given moleculepublic java.util.List<StructureFixer> getFixers(StructureCheckerResult result)
CheckerRunnerStructureFixer instances which associated with the
StructureCheckerErrorType of the result
getFixers in interface CheckerRunnerresult - a StructureCheckerResult instance which identifies the current problem
List of StructureFixerpublic boolean fix()
CheckerRunnerStructureChecker on the given molecule and after that fixes all
identified problems with the first StructureFixer which is associated with the current problem.
fix in interface CheckerRunnerpublic boolean fix(StructureCheckerResult result)
CheckerRunnerStructureFixer which
is associated with the StructureCheckerErrorType of the result.
fix in interface CheckerRunnerresult - a StructureCheckerResult instance which identifies the problem
public void setMolecule(Molecule molecule)
CheckerRunner
setMolecule in interface CheckerRunnermolecule - a Molecule instance to be checkedpublic void addPropertyChangeListener(java.beans.PropertyChangeListener changeListener)
CheckerRunnerPropertyChangeListener that will receive all the PropertyChangeEvent fired by this class
addPropertyChangeListener in interface CheckerRunnerchangeListener - a PropertyChangeListener instance
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
CheckerRunnerPropertyChangeListener that will receive the PropertyChangeEvent fired when the property with
the given name is changed
addPropertyChangeListener in interface CheckerRunnerpropertyName - the name of the property to be listenedlistener - a PropertyChangeListener instance
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||