Package jmri

Interface CollectingReporter

  • All Superinterfaces:
    java.lang.Comparable<NamedBean>, NamedBean, PropertyChangeProvider, Reporter
    All Known Implementing Classes:
    LnReporter, TrackReporter, Z21CanReporter

    public interface CollectingReporter
    extends Reporter
    This is an extension of a reporter device that is capable of collecting multiple reports in a collection. The type of collection is not specified by the interface, since that may be determined by the application.

    This file is part of JMRI.

    JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

    JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    See Also:
    Reporter
    • Method Detail

      • getCollection

        java.util.Collection<java.lang.Object> getCollection()
        Returns:
        the collection of elements associated with this reporter.