001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.data.preferences.sources; 003 004import java.util.Collection; 005 006/** 007 * Interface for a class that offers a list of {@link SourceEntry}s. 008 * 009 * Used by plugins to offer additional SourceEntrys to the user. 010 * @since 12649 (moved from gui.preferences package) 011 */ 012@FunctionalInterface 013public interface SourceProvider { 014 015 /** 016 * Get the collection of {@link SourceEntry}s. 017 * @return the collection of {@link SourceEntry}s 018 */ 019 Collection<SourceEntry> getSources(); 020}