001package fr.ifremer.adagio.synchro.config; 002 003/* 004 * #%L 005 * Tutti :: Persistence 006 * $Id: TuttiConfigurationProvider.java 1418 2013-12-01 21:18:22Z tchemit $ 007 * $HeadURL: http://svn.forge.codelutin.com/svn/tutti/trunk/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfigurationProvider.java $ 008 * %% 009 * Copyright (C) 2012 - 2013 Ifremer 010 * %% 011 * This program is free software: you can redistribute it and/or modify 012 * it under the terms of the GNU Affero General Public License as published by 013 * the Free Software Foundation, either version 3 of the License, or 014 * (at your option) any later version. 015 * 016 * This program is distributed in the hope that it will be useful, 017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 019 * GNU General Public License for more details. 020 * 021 * You should have received a copy of the GNU Affero General Public License 022 * along with this program. If not, see <http://www.gnu.org/licenses/>. 023 * #L% 024 */ 025 026import static org.nuiton.i18n.I18n.l; 027 028import java.util.Locale; 029 030import org.nuiton.config.ApplicationConfigProvider; 031import org.nuiton.config.ConfigActionDef; 032import org.nuiton.config.ConfigOptionDef; 033 034/** 035 * Allegro config provider (for site generation). 036 * 037 * @author Benoit Lavenier <benoit.lavenier@e-is.pro> 038 * @since 3.4.3 039 */ 040public class SynchroConfigurationProvider implements ApplicationConfigProvider { 041 042 @Override 043 public String getName() { 044 return "synchro"; 045 } 046 047 @Override 048 public String getDescription(Locale locale) { 049 return l(locale, "synchro.config"); 050 } 051 052 @Override 053 public ConfigOptionDef[] getOptions() { 054 return SynchroConfigurationOption.values(); 055 } 056 057 @Override 058 public ConfigActionDef[] getActions() { 059 return new ConfigActionDef[0]; 060 } 061}