- java.lang.Object
-
- io.ebean.bean.NodeUsageCollector
-
public final class NodeUsageCollector extends Object
Collects profile information for a bean (or reference/proxy bean) at a given node.The node identifies the location of the bean in the object graph.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeUsageCollector.State
-
Constructor Summary
Constructors Constructor Description NodeUsageCollector(ObjectGraphNode node, NodeUsageListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUsed(String property)Add the name of a property that has been used.voidsetModified()The bean has been modified by a setter method.NodeUsageCollector.Statestate()Return the underlying state.StringtoString()
-
-
-
Constructor Detail
-
NodeUsageCollector
public NodeUsageCollector(ObjectGraphNode node, NodeUsageListener listener)
-
-
Method Detail
-
state
public NodeUsageCollector.State state()
Return the underlying state.
-
setModified
public void setModified()
The bean has been modified by a setter method.
-
addUsed
public void addUsed(String property)
Add the name of a property that has been used.
-
-