public enum SoftTransactionType extends Enum<SoftTransactionType>
Enum Constant and Description |
---|
BestEffortsDelivery
Best efforts delivery.
|
TryConfirmCancel
Try confirm cancel.
|
Modifier and Type | Method and Description |
---|---|
static SoftTransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoftTransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoftTransactionType BestEffortsDelivery
Required: INSERT SQL should include primary key(auto-increment primary key in invalid). UPDATE SQL should idempotent. Every DELETE SQL are ok.
public static final SoftTransactionType TryConfirmCancel
Required: Business app implements cancel method.
public static SoftTransactionType[] values()
for (SoftTransactionType c : SoftTransactionType.values()) System.out.println(c);
public static SoftTransactionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.