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

org.enodeframework.commanding.impl.HandlerFindResult.kt Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
package org.enodeframework.commanding.impl

import org.enodeframework.commanding.ICommandHandlerProxy

class HandlerFindResult(var findStatus: HandlerFindStatus, var findHandler: ICommandHandlerProxy?) {

    constructor(findStatus: HandlerFindStatus) : this(findStatus, null)

    companion object {
        var NotFound: HandlerFindResult = HandlerFindResult(HandlerFindStatus.NotFound)
        var TooManyHandlerData: HandlerFindResult = HandlerFindResult(HandlerFindStatus.TooManyHandlerData)
        var TooManyHandler: HandlerFindResult = HandlerFindResult(HandlerFindStatus.TooManyHandler)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy