From: David ‘Bombe’ Roden Date: Wed, 9 Oct 2013 19:46:10 +0000 (+0200) Subject: Add album builder factory. X-Git-Tag: 0.8.8^2~20 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=37a611f17d6a363301f99310fe17db67266f6550 Add album builder factory. --- diff --git a/src/main/java/net/pterodactylus/sone/database/AlbumBuilderFactory.java b/src/main/java/net/pterodactylus/sone/database/AlbumBuilderFactory.java new file mode 100644 index 0000000..e7a537d --- /dev/null +++ b/src/main/java/net/pterodactylus/sone/database/AlbumBuilderFactory.java @@ -0,0 +1,34 @@ +/* + * Sone - AlbumBuilderFactory.java - Copyright © 2013 David Roden + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package net.pterodactylus.sone.database; + +/** + * Factory for {@link AlbumBuilder}s. + * + * @author David ‘Bombe’ Roden + */ +public interface AlbumBuilderFactory { + + /** + * Creates a new album builder. + * + * @return A new album builder + */ + AlbumBuilder newAlbumBuilder(); + +}