public class CapturePropertyToListIf extends CapturePropertyToList
| Constructor and Description |
|---|
CapturePropertyToListIf(BeanPropertyPredicate predicate,
List<BeanProperty> collection) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop)
Callback fired for each
BeanProperty found on an object |
public CapturePropertyToListIf(BeanPropertyPredicate predicate, List<BeanProperty> collection)
public void visit(BeanProperty property, Object current, BeanPropertyPath path, Object[] stack, AtomicBoolean stop)
BeanVisitorBeanProperty found on an objectvisit in interface BeanVisitorvisit in class CapturePropertyToListproperty - the property being visitedcurrent - the object currently being visitedpath - a dot notation path of the properties navigated to get to this propertystack - a stack of the objects that have been visited to get to the current object. The latest object is last in the array.stop - set the value to true if the visit is to be stoppedCopyright © 2015. All rights reserved.