org.enodeframework.commanding.impl.HandlerFindResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
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)
}
}