From OS.bee documentation
|
|
Line 1: |
Line 1: |
− | ==Purpose==
| |
− | The Message DSL contains all defined message outputs that either will be shown in the application as reponses and notifications (eg. Pop-Up Dialog), or redirected instead as console output (later also possibly persisted in log-files) with a selected list of severity level reports; both resulting of user interactions with the application.
| |
| | | |
− | ==Overview==
| |
− |
| |
− | [[File:MessageDSLOverview.png|center|frame|''Figure 1: Architecture Message DSL'']]
| |
− |
| |
− | ==Message Model Files==
| |
− | The Message DSL model unifies the content of all possible output messages and make them available for other DSL models such as [[Action DSL]].
| |
− |
| |
− | Message model files are made up of the following sections:
| |
− |
| |
− | * '''Package declaration''': The message model file must have a unique fully qualified name that can be specified with the keyword '''package''' at the beginning of the file.
| |
− | * '''Category section''': The category section allows you to group a set of messages and in so forth defines different batches or categories (groups) of different set of messages.
| |
− | * '''Message section''': The message section contains the body and content of each messages.
| |
− |
| |
− | ===package definition===
| |
− | ====category====
| |
− | =====message=====
| |
− | =====output=====
| |
− | ======all======
| |
− | ======log======
| |
− | ======show======
| |
− |
| |
− | =====parameter=====
| |
− | * Boolean
| |
− | * Class
| |
− | * Double
| |
− | * Exception
| |
− | * Int
| |
− | * Object
| |
− | * String
| |
− | =====severity=====
| |
− | * Log: log-debug | log-error | log-info | log-trace | log-warn
| |
− | * Show: show-error | show-info | show-warn
| |
− |
| |
− | == Copyright Notice ==
| |
− | {{Copyright Notice}}
| |
Revision as of 15:23, 20 October 2017