Package adams.flow.processor
Class FixLWLSynchroNoUpdate.LWLSynchroObserver
- java.lang.Object
-
- adams.flow.processor.FixLWLSynchroNoUpdate.LWLSynchroObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- FixLWLSynchroNoUpdate
public static class FixLWLSynchroNoUpdate.LWLSynchroObserver extends Object implements PropertyTraversal.Observer
Sets the noUpdate flag of LWLSynchro classifiers.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_MigrateToSynchrowhether to migrate LWL to LWLSynchro as well.protected intm_Updatesthe number of updates.
-
Constructor Summary
Constructors Constructor Description LWLSynchroObserver(boolean migrateToSynchro)Initializes the observer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetUpdates()Returns the number of updates that occurred.booleanobserve(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)Presents the current path, descriptor and object to the observer.
-
-
-
Method Detail
-
observe
public boolean observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observein interfacePropertyTraversal.Observer- Parameters:
path- the pathdesc- the property descriptorparent- the parent objectchild- the child object- Returns:
- true if to continue observing
-
getUpdates
public int getUpdates()
Returns the number of updates that occurred.- Returns:
- the number of updates
-
-