|
|||||||||
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. |
java.util.List<StructureChecker> |
getCheckerConfiguration()
Deprecated. Gets the list of available checkers |
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 |
setIgnoreConfigurationErrors(boolean ignore)
Deprecated. Sets whether configuration errors should be ignored on execution. |
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
instanceMethod Detail |
---|
public void setConfigurationReader(ConfigurationReader reader)
CheckerRunner
setConfigurationReader
in interface CheckerRunner
reader
- is the ConfigurationReader
instance which provides the current configuraitonpublic void check()
CheckerRunner
check
in interface CheckerRunner
public java.util.List<StructureCheckerResult> checkAndWait()
CheckerRunner
List
of StructureCheckerResult
which contains all the identified problems
checkAndWait
in interface CheckerRunner
List
of StructureCheckerResult
which contains all the
identified problem about the given moleculepublic void cancel()
CheckerRunner
cancel
in interface CheckerRunner
public boolean isChecking()
CheckerRunner
isChecking
in interface CheckerRunner
public int getCurrent()
getCurrent
in interface CheckerRunner
public java.lang.String getCurrentCheckerName()
getCurrentCheckerName
in interface CheckerRunner
StructureChecker
instance run currentlypublic int getProgessLength()
getProgessLength
in interface CheckerRunner
public java.util.List<StructureCheckerResult> getResultList()
getResultList
in interface CheckerRunner
List
of StructureCheckerResult
which contains all the
dentified problem about the given moleculepublic java.util.List<StructureFixer> getFixers(StructureCheckerResult result)
CheckerRunner
StructureFixer
instances which associated with the
StructureCheckerErrorType
of the result
getFixers
in interface CheckerRunner
result
- a StructureCheckerResult
instance which identifies the current problem
List
of StructureFixer
public boolean fix()
CheckerRunner
StructureChecker
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 CheckerRunner
public boolean fix(StructureCheckerResult result)
CheckerRunner
StructureFixer
which
is associated with the StructureCheckerErrorType
of the result.
fix
in interface CheckerRunner
result
- a StructureCheckerResult
instance which identifies the problem
public void setMolecule(Molecule molecule)
CheckerRunner
setMolecule
in interface CheckerRunner
molecule
- a Molecule
instance to be checkedpublic void addPropertyChangeListener(java.beans.PropertyChangeListener changeListener)
CheckerRunner
PropertyChangeListener
that will receive all the PropertyChangeEvent
fired by this class
addPropertyChangeListener
in interface CheckerRunner
changeListener
- a PropertyChangeListener
instancepublic void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
CheckerRunner
PropertyChangeListener
that will receive the PropertyChangeEvent
fired when the property with
the given name is changed
addPropertyChangeListener
in interface CheckerRunner
propertyName
- the name of the property to be listenedlistener
- a PropertyChangeListener
instancepublic java.util.List<StructureChecker> getCheckerConfiguration()
CheckerRunner
getCheckerConfiguration
in interface CheckerRunner
public void setIgnoreConfigurationErrors(boolean ignore)
CheckerRunner
setIgnoreConfigurationErrors
in interface CheckerRunner
ignore
- true if configuration errors should be ignored on execution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |