public enum DeliveryAcknowledgement extends Enum<DeliveryAcknowledgement>
| Enum Constant and Description |
|---|
Full
An acknowledgement is sent on delivery success or failure.
|
NegativeOnly
Acknowledgement is sent only if delivery fails.
|
None
Acknowledgement is NOT sent on delivery or failure.
|
PositiveOnly
Acknowledgement is sent only on delivery succeeds.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliveryAcknowledgement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryAcknowledgement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryAcknowledgement None
public static final DeliveryAcknowledgement NegativeOnly
public static final DeliveryAcknowledgement PositiveOnly
public static final DeliveryAcknowledgement Full
public static DeliveryAcknowledgement[] values()
for (DeliveryAcknowledgement c : DeliveryAcknowledgement.values()) System.out.println(c);
public static DeliveryAcknowledgement 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 © 2024. All rights reserved.