public class Options extends Object
Options can be set either using context parameters on the web container or Java System properties in the virtual machine.
Modifier and Type | Field and Description |
---|---|
static String |
OPTION_DEBUG
Determines whether MDWorkbench Server is executed in debug mode,
in which case additional information is logged.
|
static String |
OPTION_ENCRYPTION_SECRET_KEY
Determines the secret key to encrypt and decrypt information using the class
EncryptionProvider . |
static String |
OPTION_LAUNCH_EXPIRATION
Determines the number of seconds after which a launch is considered expired.
|
static String |
OPTION_STORAGE_EXPIRATION
Determines the number of seconds after which a storage is considered expired.
|
static String |
OPTION_STORAGE_LOCATION
Deprecated.
Clients are recommended to rather set the workspace location.
|
static String |
OPTION_SYSTEM_PROPERTIES_LOCATION
Deprecated.
Clients are recommended to set options using context parameters instead of System properties.
|
static String |
OPTION_WORKSPACE_LOCATION
Determines the directory in the server file system where data shall be stored.
|
public static final String OPTION_WORKSPACE_LOCATION
DiscoveryHelper
.
Though this setting is not mandatory, clients are strongly encouraged to explicitly define such location. If this setting is absent, the
default workspace location is a sub directory of the user home:
<user.home>/.eclipse/com.sodius.mdw.server
DiscoveryHelper
,
Constant Field Valuespublic static final String OPTION_DEBUG
@Deprecated public static final String OPTION_SYSTEM_PROPERTIES_LOCATION
public static final String OPTION_ENCRYPTION_SECRET_KEY
EncryptionProvider
.EncryptionProvider
,
Constant Field Values@Deprecated public static final String OPTION_STORAGE_LOCATION
OPTION_WORKSPACE_LOCATION
,
Constant Field Valuespublic static final String OPTION_STORAGE_EXPIRATION
public static final String OPTION_LAUNCH_EXPIRATION