Enum Class R2dbcMessageHandler.Type
java.lang.Object
java.lang.Enum<R2dbcMessageHandler.Type>
org.springframework.integration.r2dbc.outbound.R2dbcMessageHandler.Type
- All Implemented Interfaces:
Serializable,Comparable<R2dbcMessageHandler.Type>,Constable
- Enclosing class:
- R2dbcMessageHandler
/**
The mode for the
R2dbcMessageHandler.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSet aR2dbcMessageHandlerinto adeletemode.Set aR2dbcMessageHandlerinto aninsertmode.Set aR2dbcMessageHandlerinto anupdatemode. -
Method Summary
Modifier and TypeMethodDescriptionstatic R2dbcMessageHandler.TypeReturns the enum constant of this class with the specified name.static R2dbcMessageHandler.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERT
Set aR2dbcMessageHandlerinto aninsertmode. -
UPDATE
Set aR2dbcMessageHandlerinto anupdatemode. -
DELETE
Set aR2dbcMessageHandlerinto adeletemode.
-
-
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
-