AfterCommandFunctionMetadata
data class AfterCommandFunctionMetadata<C : Any>(val function: FunctionAccessorMetadata<C, Mono<*>>) : Ordered
Metadata for an after-command function, containing configuration about which commands it applies to.
This data class holds information about an after-command function's include/exclude rules and ordering, parsed from the AfterCommand annotation on the function.
Parameters
C
The type of the command aggregate.
Functions
Link copied to clipboard
Determines whether this after-command function should execute for the given command type.
Link copied to clipboard
fun <C : Any> AfterCommandFunctionMetadata<C>.toAfterCommandFunction(commandRoot: C): AfterCommandFunction<C>
Converts after-command function metadata into an executable after-command function.