Message DSL

From OS.bee documentation
Revision as of 15:20, 18 October 2017 by Worayeno (Talk | contribs) (Message Model Files)

Jump to: navigation, search

Purpose

The Message DSL centralizes ...

Overview

File:MessageDSLOverview.png
Figure 1: Architecture Message DSL

Grammar Definition

The figure below represents how the grammar was designed, in order to make it possible for you to use and also create your own messages. This is the structural foundation on which the Message DSL model is based on.

Figure 2: Grammar Definition

Further information will be provided in upcoming releases.

Message Model Files

The Message DSL model unifies the content of all those message outputs 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

All rights are reserved by Compex Systemhaus GmbH. In particular, duplications, translations, microfilming, saving and processing in electronic systems are protected by copyright. Use of this manual is only authorized with the permission of Compex Systemhaus GmbH. Infringements of the law shall be punished in accordance with civil and penal laws. We have taken utmost care in putting together texts and images. Nevertheless, the possibility of errors cannot be completely ruled out. The Figures and information in this manual are only given as approximations unless expressly indicated as binding. Amendments to the manual due to amendments to the standard software remain reserved. Please note that the latest amendments to the manual can be accessed through our helpdesk at any time. The contractually agreed regulations of the licensing and maintenance of the standard software shall apply with regard to liability for any errors in the documentation. Guarantees, particularly guarantees of quality or durability can only be assumed for the manual insofar as its quality or durability are expressly stipulated as guaranteed. If you would like to make a suggestion, the Compex Team would be very pleased to hear from you.

(c) 2016-2024 Compex Systemhaus GmbH