001package jmri; 002 003/** 004 * This is an extension of a reporter device that is capable of collecting 005 * multiple reports in a collection. The type of collection is not specified 006 * by the interface, since that may be determined by the application. 007 * <br> 008 * <hr> 009 * This file is part of JMRI. 010 * <p> 011 * JMRI is free software; you can redistribute it and/or modify it under the 012 * terms of version 2 of the GNU General Public License as published by the Free 013 * Software Foundation. See the "COPYING" file for a copy of this license. 014 * <p> 015 * JMRI is distributed in the hope that it will be useful, but WITHOUT ANY 016 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 017 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 018 * 019 * @author Paul Bender Copyright (C) 2019 020 * @see jmri.Reporter 021 */ 022public interface CollectingReporter extends Reporter { 023 024 /** 025 * @return the collection of elements associated with this reporter. 026 */ 027 java.util.Collection<Object> getCollection(); 028 029}