Package moblima.utils
Class Constants
java.lang.Object
moblima.utils.Constants
Global environment variables and debug mode toggle
- Version:
- 1.0
- Author:
- SC2002 /SS11 Group 1
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Retrieves specific env key from loaded entriesstatic Constants
Retrieves instance of Constantsstatic void
setDebugMode
(boolean isDebug) Configure debug mode
-
Field Details
-
DEBUG_MODE
public static boolean DEBUG_MODEDebug flag
-
-
Method Details
-
getInstance
Retrieves instance of Constants- Returns:
- instance :current Constants instance
-
setDebugMode
public static void setDebugMode(boolean isDebug) Configure debug mode- Parameters:
isDebug
- :boolean
-
getEnv
Retrieves specific env key from loaded entries- Parameters:
envKey
- :String- Returns:
- String | null
-