Android Open Source - Icinga-Mobile Global Config

From Project

Back to project page Icinga-Mobile.


The source code is released under:

GNU General Public License

If you think the Android project Icinga-Mobile listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package mhst.dreamteam.IcingaClient;
/*www  .  j  a  v a2  s .c o m*/
 * Contains every configuration variables such as server address, resources, ...
 * @author MinhNN
public class GlobalConfig {
    public static String prefLoginInfo = "LoginInfo"; // File name to save Login Info

    public static String returnType = "xml"; // Return type from Icinga API
    public static String apiUri = "/icinga-web/web/api"; // URI to access the API
    public static String cronksUri = "/icinga-web/modules/cronks/viewproc/%s/json"; // URI to access the API

    public static String loginUri = "/icinga-web/modules/appkit/login/json"; // Login URI
    public static String logoutUri = "/icinga-web/modules/appkit/logout?logout=1"; // Logout URI

Java Source Code List