Interface Reporter
- All Known Implementing Classes:
LoggingReporter
,PeriodicReporter
public interface Reporter
A
Reporter
receives callbacks for every NodeState
and PropertyState that was accessed via a {ReportingNodeState}
instance.-
Method Summary
Modifier and TypeMethodDescriptionvoid
reportNode
(@NotNull ReportingNodeState nodeState) Callback reporting that the givennodeState
was accessed.void
reportProperty
(@NotNull ReportingNodeState parent, @NotNull String propertyName) Callback reporting that the property namedpropertyName
was accessed on theparent
node.
-
Method Details
-
reportNode
Callback reporting that the givennodeState
was accessed.- Parameters:
nodeState
- The accessedReportingNodeState
instance.
-
reportProperty
void reportProperty(@NotNull @NotNull ReportingNodeState parent, @NotNull @NotNull String propertyName) Callback reporting that the property namedpropertyName
was accessed on theparent
node.- Parameters:
parent
- The parent node state of the reported property.propertyName
- The name of the reported property.
-