Package 

Enum CommandReturnType

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EventHandled

      Return the command result when the command execution has the following cases:

      • the command execution meets some error or exception;

      • the command execution makes nothing changes of domain;

      • the command execution success, and the domain event is handled.

      CommandExecuted

      Return the command result when the command execution has the following cases:

      • the command execution meets some error or exception;

      • the command execution makes nothing changes of domain;

      • the command execution success, and the domain event is sent to the message queue successfully.