Enum Class CommunicationType
- All Implemented Interfaces:
Serializable, Comparable<CommunicationType>, Constable
Enum representing the type of communication for a request flow.
- Since:
- 25.1
- Author:
- 渔民小镇
- date:
- 2025-09-07
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCommunication originated from an internal logic-to-logic call (request/response).Communication originated from an internal logic-to-logic send (fire-and-forget).Communication originated from an external user request. -
Method Summary
Modifier and TypeMethodDescriptionstatic CommunicationTypeReturns the enum constant of this class with the specified name.static CommunicationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_REQUEST
Communication originated from an external user request. -
INTERNAL_CALL
Communication originated from an internal logic-to-logic call (request/response). -
INTERNAL_SEND
Communication originated from an internal logic-to-logic send (fire-and-forget).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-