Interface Reporter
-
- All Known Implementing Classes:
LoggingReporter
,PeriodicReporter
public interface Reporter
AReporter
receives callbacks for every NodeState and PropertyState that was accessed via a {ReportingNodeState} instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
reportNode
void reportNode(@NotNull @NotNull ReportingNodeState nodeState)
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.
-
-