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 TypeMethodDescriptionvoidreportNode(@NotNull ReportingNodeState nodeState) Callback reporting that the givennodeStatewas accessed.voidreportProperty(@NotNull ReportingNodeState parent, @NotNull String propertyName) Callback reporting that the property namedpropertyNamewas accessed on theparentnode.
-
Method Details
-
reportNode
Callback reporting that the givennodeStatewas accessed.- Parameters:
nodeState- The accessedReportingNodeStateinstance.
-
reportProperty
void reportProperty(@NotNull @NotNull ReportingNodeState parent, @NotNull @NotNull String propertyName) Callback reporting that the property namedpropertyNamewas accessed on theparentnode.- Parameters:
parent- The parent node state of the reported property.propertyName- The name of the reported property.
-