When the writer is launched from rules or Java code, you can set options to tweak the writer's behavior.
The model writer can be configured using many options, which are defined in the class
Options
.
Here is a list of the most significant options:
Options.OPTION_IGNORE_CONNECTOR_UI
false
Options.OPTION_DATABASE_CONFIGURATION
com.sodius.mdw.metamodel.integrity.io.DatabaseConfiguration
Options.OPTION_DATABASE_PRELOAD
false
Options.OPTION_INTEGRATION_POINT_KIND
Options.OPTION_INTEGRATION_POINT_KIND
- the connection mode: LOCAL
(default) or SERVER
. It's recommended to use SERVER
mode.
Options.OPTION_SERVER
- the server name of the database to connect to
Options.OPTION_PORT
- the port of the database to connect to
Options.OPTION_USER
- the name of the Integrity user to make the connection
Options.OPTION_PASSWORD
- the password of the Integrity user to make the connection
Options.OPTION_IGNORE_CONNECTOR_UI
should also be set true
in such use case.
Options.OPTION_IGNORE_ATTACHMENTS
false
Options.OPTION_ATTACHMENT_RESOLVER
com.sodius.mdw.metamodel.integrity.io.AttachmentResolver
that determines the physical location of attachment files
to be written in Integrity.