io.microservices.canvas.model.Dependencies.kt Maven / Gradle / Ivy
package io.microservices.canvas.model
import java.util.*
data class Dependencies(val asynchronousOperations: MutableList, val events: MutableList)
data class InvokedChannelAndCommands(val channel : String, val operations : MutableSet) {
fun add(commandClass: String) {
operations.add(commandClass)
}
constructor(commandChannel: String) : this(commandChannel, HashSet())
}
data class SubscribedToAggregateAndEvents(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