Package adams.flow.processor
Class UpdateStackingNumFolds.StackingObserver
- java.lang.Object
-
- adams.flow.processor.UpdateStackingNumFolds.StackingObserver
-
- All Implemented Interfaces:
adams.core.discovery.PropertyTraversal.Observer
- Enclosing class:
- UpdateStackingNumFolds
public static class UpdateStackingNumFolds.StackingObserver extends Object implements adams.core.discovery.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(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
-
-