View Javadoc

1   /*
2    * Copyright (c) 2002 Peter Antman, Teknik i Media  <peter.antman@tim.se>
3    *
4    * $Id: PropertyConstants.java,v 1.1.1.1 2004/05/19 12:33:40 pra Exp $
5    *
6    * This library is free software; you can redistribute it and/or
7    * modify it under the terms of the GNU Lesser General Public
8    * License as published by the Free Software Foundation; either
9    * version 2 of the License, or (at your option) any later version
10   * 
11   * This library is distributed in the hope that it will be useful,
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   * Lesser General Public License for more details.
15   * 
16   * You should have received a copy of the GNU Lesser General Public
17   * License along with this library; if not, write to the Free Software
18   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19   */
20  package org.backsource.alert;
21  
22  /***
23   * Constant used by classes in alert.
24   *
25   * <p>It is by no mean needed for every sender or agent to have their
26   * static constant in here. It's just handy to have them in one place.</p>
27   *
28   * @author <a href="mailto:pra@tim.se">Peter Antman</a>
29   * @version $Revision: 1.1.1.1 $
30   */
31  
32  public interface PropertyConstants {
33     /*** alert.xml */
34     public static final String DOCUMENT = "alert.xml";
35     /*** alert.properties */
36     public static final String PROPERTIES = "alert.properties";
37     /*** agent.dir.fileage */
38     public static final String DIR_FILE_AGE = "agent.dir.fileage";
39      /*** agent.dir.dirs */
40     public static final String DIR_DIRS = "agent.dir.dirs";
41     /*** mail.smtp.host */
42     public static final String MAIL_SERVER = "mail.smtp.host";
43      /*** mail.from */
44     public static final String MAIL_FROM = "mail.from";
45      /*** mail.to.error*/
46     public static final String MAIL_ERROR_TO = "mail.to.error";
47      /***  mail.to.warning*/
48     public static final String MAIL_WARNING_TO = "mail.to.warning";
49      /***  sms.to.error*/
50     public static final String SMS_ERROR_TO = "sms.to.error";
51      /*** sms.lockfile*/
52     public static final String SMS_LOCKFILE = "sms.lockfile";
53      /***  alert.http.timeout*/
54     public static final String HTTP_TIMEOUT = "alert.http.timeout";
55      /***  alert.http.url*/
56     public static final String HTTP_URL = "alert.http.url";
57     /***  agent.http.realm*/
58     public static final String HTTP_REALM = "agent.http.realm";
59     /***  agent.http.user*/
60     public static final String HTTP_USER = "agent.http.user";
61      /***  agent.http.pwd*/
62     public static final String HTTP_PWD = "agent.http.pwd";
63      /***  agent.ftp.timeout*/
64     public static final String FTP_TIMEOUT = "agent.ftp.timeout";
65      /***  agent.ftp.host*/
66     public static final String FTP_HOST = "agent.ftp.host";
67     /***  agent.ftp.dir*/
68     public static final String FTP_DIR = "agent.ftp.dir";
69     /***  agent.ftp.user*/
70     public static final String FTP_USER = "agent.ftp.user";
71     /***  agent.ftp.pwd*/
72     public static final String FTP_PWD = "agent.ftp.pwd";
73     /***  agent.ftp.no.files*/
74     public static final String FTP_NO_FILES = "agent.ftp.no.files";
75     /***  agent.ftp.fileage*/
76     public static final String FTP_FILE_AGE = "agent.ftp.fileage";
77      /*** agent.serveralive.url*/
78     public static final String SERVER_ALIVE_URL = "agent.serveralive.url";
79      /*** agent.serveralive.find*/
80     public static final String SERVER_ALIVE_FIND = "agent.serveralive.find";
81      /*** agent.dbalive.url*/
82     public static final String DB_ALIVE_URL = "agent.dbalive.url";
83      /*** agent.jabber.server*/
84     public static final String JABBER_SERVER = "agent.jabber.server";
85      /*** agent.jabber.user*/
86     public static final String JABBER_USER = "agent.jabber.user";
87      /*** agent.jabber.pwd*/
88     public static final String JABBER_PWD = "agent.jabber.pwd";
89     /*** agent.sql.query */
90     public static final String SQL_QUERY = "agent.sql.query";
91     /*** agent.sql.user */
92     public static final String SQL_USER = "agent.sql.user";
93     /*** agent.sql.pass */
94     public static final String SQL_PASS = "agent.sql.pass";
95     /*** agent.sql.driver */
96     public static final String SQL_DRIVER = "agent.sql.driver";
97     /*** agent.sql.url */
98     public static final String SQL_URL = "agent.sql.url";
99  
100 }// PropertyConstants