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 Detail

      • reportNode

        void reportNode​(@NotNull
                        @NotNull ReportingNodeState nodeState)
        Callback reporting that the given nodeState was accessed.
        Parameters:
        nodeState - The accessed ReportingNodeState instance.
      • reportProperty

        void reportProperty​(@NotNull
                            @NotNull ReportingNodeState parent,
                            @NotNull
                            @NotNull String propertyName)
        Callback reporting that the property named propertyName was accessed on the parent node.
        Parameters:
        parent - The parent node state of the reported property.
        propertyName - The name of the reported property.