Class MessageEventVisitor
- java.lang.Object
-
- com.aquima.interactions.process.impl.MessageEventVisitor
-
- All Implemented Interfaces:
IMessageEventVisitor
public class MessageEventVisitor extends Object implements IMessageEventVisitor
This class is used during initialization to initialize and validate the event definitions.- Since:
- 9.1
- Author:
- a.pragt
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageEventVisitor(Map<String,IMessageEventDefinition> events)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEvent(IMessageEventDS datasource)
This method may be used to add a process event definition to the process engine.protected static Map<String,IMessageEventDefinition>
process(IProcessEngineDS datasource)
-
-
-
Constructor Detail
-
MessageEventVisitor
protected MessageEventVisitor(Map<String,IMessageEventDefinition> events)
-
-
Method Detail
-
process
protected static Map<String,IMessageEventDefinition> process(IProcessEngineDS datasource) throws InitializationException
- Throws:
InitializationException
-
addEvent
public void addEvent(IMessageEventDS datasource) throws InitializationException
Description copied from interface:IMessageEventVisitor
This method may be used to add a process event definition to the process engine.- Specified by:
addEvent
in interfaceIMessageEventVisitor
- Parameters:
datasource
- Data source providing the information for the event that should be added.- Throws:
InitializationException
- This exception is thrown when the process event information was invalid.
-
-