Package adams.flow.core
Class FlowContextUtils.LocatorObserver
- java.lang.Object
-
- adams.flow.core.FlowContextUtils.LocatorObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- FlowContextUtils
public static class FlowContextUtils.LocatorObserver extends Object implements PropertyTraversal.Observer
Observer for locating any FlowContextHandler instances.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_Present
whether a FlowContextHandler was found.
-
Constructor Summary
Constructors Constructor Description LocatorObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPresent()
Returns whether a FlowContextHandler was found.boolean
observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.
-
-
-
Method Detail
-
isPresent
public boolean isPresent()
Returns whether a FlowContextHandler was found.- Returns:
- true if found
-
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:
observe
in interfacePropertyTraversal.Observer
- Parameters:
path
- the pathdesc
- the property descriptorparent
- the parent objectchild
- the child object- Returns:
- true if to continue observing
-
-