Package net.sf.basedb.core
Class Application.StartupOptions
java.lang.Object
net.sf.basedb.core.Application.StartupOptions
- Enclosing class:
- Application
Startup optins when starting the BASE application.
Some options are internal and can only be changed
specific BASE routines (such as for installtion and upgrading).
In most cases, the DEFAULT
should be used.
- Since:
- 3.18
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
static final Application.StartupOptions
Default startup options that will start BASE for normal operations using the options specified in "base.config".private boolean
private Boolean
private boolean
private boolean
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoLogoutSessions
(boolean autoLogoutSessions) Set to TRUE to automatically set a logout time for all sessions that doesn't have one.private void
checkLocked
(String msg) disableExtensions
(boolean disableExtensions) Set to TRUE to disable loading external extensions.disableInternalJobQueue
(boolean disableInternalJobQueue) Set to TRUE to disable the internal job queue.(package private) Application.StartupOptions
installation
(boolean installation) Set to TRUE when starting a new installation.lock()
Lock the options for additional modifications.(package private) Application.StartupOptions
verifySchemaVersion
(boolean verifySchemaVersion) Set to FALSE when starting a new installation or upgrade.
-
Field Details
-
DEFAULT
Default startup options that will start BASE for normal operations using the options specified in "base.config". The options in this instance can't be changed. -
locked
private boolean locked -
installation
private boolean installation -
verifySchemaVersion
private boolean verifySchemaVersion -
disableInternalJobQueue
-
disableExtensions
private boolean disableExtensions -
autoLogoutSessions
private boolean autoLogoutSessions
-
-
Constructor Details
-
StartupOptions
public StartupOptions()
-
-
Method Details
-
checkLocked
-
lock
Lock the options for additional modifications.- Returns:
- The same instance
-
installation
Set to TRUE when starting a new installation. Default is FALSE. -
verifySchemaVersion
Set to FALSE when starting a new installation or upgrade. Default is TRUE. -
disableInternalJobQueue
Set to TRUE to disable the internal job queue. Overrides the "jobqueue.internal.enabled" setting in base.config. Default is FALSE. -
disableExtensions
Set to TRUE to disable loading external extensions. Overrides the "extensions.disabled" setting in base.config. Default is FALSE. -
autoLogoutSessions
Set to TRUE to automatically set a logout time for all sessions that doesn't have one. Normally this is not needed since BASE will automatically logout session when shutting down. However, sometimes a system crash may leave sessions without a logout time. Default is FALSE.
-