findCommandType

The command type named name (or formerly named so), or null when this aggregate has none: how a command that arrives in its wire form (a forwarded one) finds the class its body is read as.


fun findCommandType(commandClass: Class<*>): CommandType?

The name of commandClass, or null when it is no command of this aggregate.