String[] addresses = props.getProperty(NOTIFY).split(",");
m_notify = Arrays.asList(addresses);
}
+
+ try (PrintWriter pw = new PrintWriter(System.out)) {
+ dump(pw);
+ }
+ }
+
+ private void dump(PrintWriter pw)
+ {
+ pw.println("CONFIG DUMP:");
+ pw.println("db_name: " + m_dbName);
+ pw.println("fbp: " + m_fbp);
+ pw.println("fbDir: " + m_fbDir);
+ pw.println("host: " + m_host);
+ pw.println("port: " + m_port);
+ pw.println("user: " + m_user);
+ pw.println("pass: " + m_pass);
+ pw.println("buildNum: " + m_buildNum);
+ pw.println("removeSchema: " + m_removeSchema);
+ pw.println("output: " + m_output);
+ pw.println("mailFrom: " + m_mailFrom);
+ pw.println("smtpHost: " + m_mailSmtpHost);
+ pw.println("notify: " + m_notify.size() + " entries");
+ for (String s : m_notify) {
+ pw.println("= " + s);
+ }
}
public Options createOptions() {