evgen

Events provide a mechanism for loosely-coupled parts of a Cúram application to communicate information about state changes in the system. When one module in the application raises an event, one or more other modules receive notification of that event having occurred provided they are registered as listeners for that event. Event files are located in the events directory of a component.

The evgen build target merges Cúram event (.evx) files and then translates the resultant merged event file (which is stored in /build/svr/events/scp directory) into Java source code which can be subsequently used as constants in the application and also .dmx files which are used to populate the event class and event type database tables.

The generated Java code is then compiled and packed into /build/jar/events.jar.