io.microservices.canvas.model.Events.kt Maven / Gradle / Ivy
package io.microservices.canvas.model
data class Events(val publishedEvents: MutableList) {
}
data class AggregateAndPublishedEvents(val aggregateType : String, val eventTypes : MutableSet) {
fun add(eventType: String) {
eventTypes.add(eventType);
}
constructor(aggregateType: String) : this(aggregateType, HashSet()) {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy