org.springframework.integration.jpa.support
Enum OutboundGatewayType
java.lang.Object
java.lang.Enum<OutboundGatewayType>
org.springframework.integration.jpa.support.OutboundGatewayType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<OutboundGatewayType>
public enum OutboundGatewayType
- extends java.lang.Enum<OutboundGatewayType>
Indicates the mode of operation for the outbound Jpa Gateway.
- Since:
- 2.2
- Author:
- Gunnar Hillert
Method Summary |
static OutboundGatewayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutboundGatewayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UPDATING
public static final OutboundGatewayType UPDATING
RETRIEVING
public static final OutboundGatewayType RETRIEVING
values
public static OutboundGatewayType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OutboundGatewayType c : OutboundGatewayType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OutboundGatewayType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null