-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum CommandReturnType extends Enum<CommandReturnType>
A enum defines the command result return type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EventHandledReturn 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.
CommandExecutedReturn 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.
-