You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

11 years ago
package org.telegram;
import java.util.ArrayList;
import java.util.List;
11 years ago
/**
* @author Ruben Bermudez
* @version 1.0
* @brief Custom build vars FILL EVERYTHING CORRECTLY
* @date 20 of June of 2015
*/
10 years ago
11 years ago
public class BuildVars {
public static final Boolean debug = true;
10 years ago
public static final Boolean useWebHook = false;
public static final int PORT = 8443;
10 years ago
public static final String EXTERNALWEBHOOKURL = "https://example.changeme.com:" + PORT; // https://(xyz.)externaldomain.tld
public static final String INTERNALWEBHOOKURL = "https://localhost.changeme.com:" + PORT; // https://(xyz.)localip/domain(.tld)
public static final String pathToCertificatePublicKey = "./YOURPEM.pem"; //only for self-signed webhooks
public static final String pathToCertificateStore = "./YOURSTORE.jks"; //self-signed and non-self-signed.
public static final String certificateStorePassword = "yourpass"; //password for your certificate-store
11 years ago
public static final String OPENWEATHERAPIKEY = "<your-api-key>";
public static final String DirectionsApiKey = "<your-api-key>";
public static final String TRANSIFEXUSER = "<transifex-user>";
public static final String TRANSIFEXPASSWORD = "<transifex-password>";
public static final List<Integer> ADMINS = new ArrayList<>();
11 years ago
public static final String pathToLogs = "./";
public static final String linkDB = "jdbc:mysql://localhost:3306/YOURDATABSENAME?useUnicode=true&characterEncoding=UTF-8";
public static final String controllerDB = "com.mysql.cj.jdbc.Driver";
11 years ago
public static final String userDB = "<your-database-user>";
public static final String password = "<your-databas-user-password>";
static {
// Add elements to ADMIN array here
}
11 years ago
}