Class ReportingMessageVisitor
java.lang.Object
com.aquima.interactions.foundation.report.ReportingVisitorDS
com.aquima.interactions.project.report.ReportingMessageVisitor
- All Implemented Interfaces:
IMessageVisitor
IMessageVisitor implementation that adds error reporting.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReportingMessageVisitor
(IInitializationReport report, IMessageVisitor visitor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessage
(String key, IMultilingualText message) This method can be used to add a message to the model.Methods inherited from class com.aquima.interactions.foundation.report.ReportingVisitorDS
addError, addMessage, beginScope, endScope, getCategory, getReport
-
Constructor Details
-
ReportingMessageVisitor
-
-
Method Details
-
addMessage
Description copied from interface:IMessageVisitor
This method can be used to add a message to the model. The message object that is passed to this method must return a valid message id. The id's of the messages are unique, and thus only one message may be added for each id.- Specified by:
addMessage
in interfaceIMessageVisitor
- Parameters:
key
- The unique key that identifies the message.message
- The message that should be added to the meta-model.
-