01: /* CVS ID: $Id: ConfigYesNoParameter.java,v 1.1.1.1 2002/10/02 18:41:44 wastl Exp $ */
02: package net.wastl.webmail.config;
03:
04: /**
05: * ConfigYesNoParameter.java
06: *
07: *
08: * Created: Wed Sep 8 16:49:22 1999
09: *
10: * Copyright (C) 1999-2000 Sebastian Schaffert
11: *
12: * This program is free software; you can redistribute it and/or
13: * modify it under the terms of the GNU General Public License
14: * as published by the Free Software Foundation; either version 2
15: * of the License, or (at your option) any later version.
16: *
17: * This program is distributed in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20: * GNU General Public License for more details.
21: *
22: * You should have received a copy of the GNU General Public License
23: * along with this program; if not, write to the Free Software
24: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25: */
26: /**
27: *
28: * @author Sebastian Schaffert
29: * @version
30: */
31:
32: public class ConfigYesNoParameter extends ChoiceConfigParameter {
33:
34: public ConfigYesNoParameter(String name, String desc) {
35: super (name, desc);
36: addChoice("YES", "Enabled.");
37: addChoice("NO", "Disabled.");
38: }
39:
40: public String getType() {
41: return "bool";
42: }
43: } // ConfigYesNoParameter
|