HandlesCommandsThatInheritsFromCommandType

Checks the first type argument to the concrete Decider and check if it inherits from the baseCommandType - if it does then the Decider is determined to work with the AggregateType that the AggregateTypeConfiguration that uses this HandlesCommandsThatInheritsFromCommandType object instance is configured with

Constructors

constructor(baseCommandType: KClass<*>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun doesDeciderWorkWithThisAggregateType(decider: Decider<*, *>): Boolean

Does the provided decider work with the AggregateType configured in the AggregateTypeConfiguration where this DeciderSupportsAggregateTypeChecker instance is configured as AggregateTypeConfiguration.deciderSupportsAggregateTypeChecker