1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 }