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 |
getDerbyKey() |
static String |
getDerbyPass() |
static String |
getDerbyPath()
Get the path where the folder containing the Derby DB will be
read/created.
|
static String |
getDerbyUser() |
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 boolean getLogDebug()
public static String getDerbyPath()
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 getDerbyKey()
public static String getDerbyUser()
public static String getDerbyPass()
public static String getDBClass()
Copyright © 2015 universAAL Consortium. All Rights Reserved.