Class CommandValidatorDispatchInterceptor

java.lang.Object
ai.stapi.axonsystem.commandvalidation.CommandValidatorDispatchInterceptor
All Implemented Interfaces:
org.axonframework.messaging.MessageDispatchInterceptor<org.axonframework.commandhandling.CommandMessage<?>>

public class CommandValidatorDispatchInterceptor extends Object implements org.axonframework.messaging.MessageDispatchInterceptor<org.axonframework.commandhandling.CommandMessage<?>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    CommandValidatorDispatchInterceptor(ai.stapi.graphsystem.commandvalidation.model.CommandValidator commandValidator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull BiFunction<Integer,org.axonframework.commandhandling.CommandMessage<?>,org.axonframework.commandhandling.CommandMessage<?>>
    handle(@NotNull List<? extends org.axonframework.commandhandling.CommandMessage<?>> messages)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.axonframework.messaging.MessageDispatchInterceptor

    handle
  • Constructor Details

    • CommandValidatorDispatchInterceptor

      public CommandValidatorDispatchInterceptor(ai.stapi.graphsystem.commandvalidation.model.CommandValidator commandValidator)
  • Method Details

    • handle

      @NotNull public @NotNull BiFunction<Integer,org.axonframework.commandhandling.CommandMessage<?>,org.axonframework.commandhandling.CommandMessage<?>> handle(@NotNull @NotNull List<? extends org.axonframework.commandhandling.CommandMessage<?>> messages)
      Specified by:
      handle in interface org.axonframework.messaging.MessageDispatchInterceptor<org.axonframework.commandhandling.CommandMessage<?>>