All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.microservices.canvas.model.Dependencies.kt Maven / Gradle / Ivy

There is a newer version: 0.12.0.RELEASE
Show newest version
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