Package adams.flow.processor
Class UpdateStackingNumFolds.StackingObserver
- java.lang.Object
-
- adams.flow.processor.UpdateStackingNumFolds.StackingObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- UpdateStackingNumFolds
public static class UpdateStackingNumFolds.StackingObserver extends Object implements PropertyTraversal.Observer
Sets the noUpdate flag of LWLSynchro classifiers.
-
-
Field Summary
Fields Modifier and Type Field Description protected intm_NumFoldsthe number of folds.protected intm_Updatesthe number of updates.
-
Constructor Summary
Constructors Constructor Description StackingObserver(int numFolds)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
-
-