Package adams.flow.processor
Class FixLWLSynchroNoUpdate.LWLSynchroObserver
- java.lang.Object
-
- adams.flow.processor.FixLWLSynchroNoUpdate.LWLSynchroObserver
-
- All Implemented Interfaces:
adams.core.discovery.PropertyTraversal.Observer
- Enclosing class:
- FixLWLSynchroNoUpdate
public static class FixLWLSynchroNoUpdate.LWLSynchroObserver extends Object implements adams.core.discovery.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(adams.core.discovery.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(adams.core.discovery.PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)Presents the current path, descriptor and object to the observer.- Specified by:
observein interfaceadams.core.discovery.PropertyTraversal.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
-
-