Package com.sodius.mdw.server
Class Options
java.lang.Object
com.sodius.mdw.server.Options
Provides options to control the behavior of MDWorkbench Server
and locations where data shall be stored on server side.
Options can be set either using context parameters on the web container or Java System properties in the virtual machine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDetermines the secret key to encrypt and decrypt information using the classEncryptionProvider.static final StringDetermines the number of seconds after which a launch is considered expired.static final StringDetermines the number of seconds after which a storage is considered expired.static final StringDeprecated.Clients are recommended to rather set the workspace location.static final StringDeprecated.Clients are recommended to set options using context parameters instead of System properties.static final StringDetermines the directory in the server file system where data shall be stored. -
Method Summary
-
Field Details
-
OPTION_WORKSPACE_LOCATION
Determines the directory in the server file system where data shall be stored. This information is used to compute locations provided byDiscoveryHelper.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- Since:
- 2.1.0
- See Also:
-
OPTION_SYSTEM_PROPERTIES_LOCATION
Deprecated.Clients are recommended to set options using context parameters instead of System properties.Determines the location in the server file system of a Java Properties file that contains key/value pairs to be loaded as System properties when the server is started.- See Also:
-
OPTION_ENCRYPTION_SECRET_KEY
Determines the secret key to encrypt and decrypt information using the classEncryptionProvider.- See Also:
-
OPTION_STORAGE_LOCATION
Deprecated.Clients are recommended to rather set the workspace location.Determines the location in the server file system where storage data shall be written. If not set, storage data is written in the selected workspace location. -
OPTION_STORAGE_EXPIRATION
Determines the number of seconds after which a storage is considered expired. When expired, storage data is automatically and permanently deleted from server side and no longer accessible. Setting a negative value disables expiration, i.e. storages are never automatically deleted. Note that an explicit DELETE HTTP request can be used to delete a storage at any moment. Default value is 30 minutes.- See Also:
-
OPTION_LAUNCH_EXPIRATION
Determines the number of seconds after which a launch is considered expired. When expired, launch data is automatically and permanently deleted from server side and no longer accessible. Setting a negative value disables expiration, i.e. launch data is never automatically deleted. Note that an explicit DELETE HTTP request can be used to delete a launch at any moment. Default value is 30 minutes.- See Also:
-