public class ReportingNodeState extends AbstractDecoratedNodeState
Reporter
via its callbacks that the respective
NodeStates or PropertyStates have been accessed.
Reporter
instance.
PeriodicReporter
abstract class exists.
This simplifies reporting every nth node/property only.
Reporter
,
PeriodicReporter
,
LoggingReporter
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPath()
ReportingNodeState instances provide access to their path via their
parent hierarchy.
|
java.lang.String |
toString()
Returns a string representation of this node state.
|
static NodeState |
wrap(NodeState nodeState,
Reporter reporter)
Allows wrapping a NodeState as a ReportingNodeState.
|
builder, compareAgainstBaseState, equals, exists, getChildNode, getChildNodeEntries, getDelegate, getProperties, getProperty, hasChildNode
checkValidName, compareAgainstBaseState, comparePropertiesAgainstBaseState, equals, getBoolean, getBoolean, getChildNodeCount, getChildNodeNames, getLong, getLong, getName, getName, getNames, getNames, getPropertyCount, getString, getString, getStrings, getStrings, hashCode, hasProperty, isValidName, toString
public static NodeState wrap(NodeState nodeState, Reporter reporter)
nodeState
- The NodeState to be wrapped.reporter
- The reporter to report to.public java.lang.String getPath()
public java.lang.String toString()
AbstractNodeState
toString
in class AbstractNodeState
Copyright © 2010 - 2023 Adobe. All Rights Reserved