public class Configuration extends Object
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
static int |
determineEndpoint(String remote)
Determines the type of endpoint
|
static String |
getContext()
Get the context path part of the URL to be used as "alias" when
registering the servlet.
|
static String |
getDBClass() |
static String |
getDBKey() |
static String |
getDBPass() |
static String |
getDBPath(ModuleContext context)
Get the path where the folder containing the DB will be read/created.
|
static String |
getDBUser() |
static String |
getGCMCrypt()
Get encryption key for messages sent through GCM.
|
static boolean |
getGCMDry()
Get if DRY mode: messages to GCM are handled OK, but not actually
delivered to clients.
|
static String |
getGCMKey()
Get the Server Application Google Cloud Messaging Key.
|
static boolean |
getGETenabled()
Get if GET debug mode is enabled.
|
static boolean |
getHardcoded()
Determine if hardcoded registration of the servlet, with basic
authentication, has been set.
|
static boolean |
getLogDebug()
Determine if additional debug logging is available.
|
static Long |
getRemovalTime()
Get the value, in milliseconds, of time at which removal of older stored
data will be removed.
|
static String |
getServerPWD() |
static String |
getServerUSR() |
public static int determineEndpoint(String remote)
remote
- String representation of the endpointRemoteAPI.REMOTE_GCM if the endpoint is an Android GCM key
RemoteAPI.REMOTE_UNKNOWN if anything else
public static String getGCMKey()
public static boolean getGCMDry()
public static String getGCMCrypt()
public static boolean getLogDebug()
public static String getDBPath(ModuleContext context)
public static Long getRemovalTime()
public static String getContext()
public static boolean getHardcoded()
public static boolean getGETenabled()
public static String getServerUSR()
public static String getServerPWD()
public static String getDBKey()
public static String getDBUser()
public static String getDBPass()
public static String getDBClass()
Copyright © 2018 universAAL Consortium. All rights reserved.