|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.startup.DIFStartupConfiguration
public class DIFStartupConfiguration
This class represents the basic startup configuration DIF needs. In this phase it can't rely on several features/resources since they have not yet been started Note: There is no support for changes in this configuration in runtime. Only by updating the configuration file and then restarting the DIF will this be reflected. This is a design decision since these parameters define several resources that are mandatory for the startup of the DIF itself and set the ground for all its infrastructure, like, for instance the IoC controller.
Field Summary | |
---|---|
static String |
CONFIGURATION_FILE
The file name of the properties file that contains the startup parameters. |
Constructor Summary | |
---|---|
DIFStartupConfiguration()
|
Method Summary | |
---|---|
static Boolean |
getDemoMode()
Inspector for the 'demoMode' attribute. |
static Boolean |
getDeveloperMode()
Inspector for the 'developerMode' attribute. |
static pt.digitalis.utils.ioc.IoCImplementations |
getIoCImplementation()
|
static pt.digitalis.log.LogLevel |
getLogLevel()
|
static MessagesLocation |
getMessagesLocation()
|
static pt.digitalis.utils.ioc.ModuleParser |
getModuleParser()
|
static Boolean |
getTestingMode()
Inspector for the 'testingMode' attribute. |
static Boolean |
isPrintStackTrace()
Inspector for the 'printStackTrace' attribute. |
static boolean |
isProductionMode()
|
static void |
setDemoMode(Boolean demoMode)
Modifier for the 'demoMode' attribute. |
static void |
setDeveloperMode(Boolean developerMode)
Modifier for the 'developerMode' attribute. |
static void |
setLogLevel(pt.digitalis.log.LogLevel logLevel)
Modifier for the 'logLevel' attribute. |
static void |
setTestingMode(Boolean testingMode)
Modifier for the 'testingMode' attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONFIGURATION_FILE
Constructor Detail |
---|
public DIFStartupConfiguration()
Method Detail |
---|
public static Boolean getDemoMode()
public static Boolean getDeveloperMode()
public static pt.digitalis.utils.ioc.IoCImplementations getIoCImplementation()
public static pt.digitalis.log.LogLevel getLogLevel()
public static MessagesLocation getMessagesLocation()
public static pt.digitalis.utils.ioc.ModuleParser getModuleParser()
public static Boolean getTestingMode()
public static Boolean isPrintStackTrace()
public static boolean isProductionMode()
public static void setDemoMode(Boolean demoMode)
demoMode
- the new demoMode value to setpublic static void setDeveloperMode(Boolean developerMode)
developerMode
- the new developerMode value to setpublic static void setLogLevel(pt.digitalis.log.LogLevel logLevel)
logLevel
- the new logLevel value to setpublic static void setTestingMode(Boolean testingMode)
testingMode
- the new testingMode value to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |