Enum DeliveryStatus
- All Implemented Interfaces:
Serializable,Comparable<DeliveryStatus>
What the delivery platform did with an artifact it accepted.
Distinct from `LastActivationStatus`, which reports the hand-over *to* the platform. Once DG has the mailing armed, the hand-over `SUCCEEDED`; whether the platform then delivered is this member's business, and the two genuinely diverge — `LastActivationStatus = SUCCEEDED` with `DeliveryStatus = FAILED` is an ordinary combination, not a contradiction.
**EMAIL and SOCIAL_POST only.** Landing pages and documents have no delivery event at all.
`PENDING` until the platform shows the outcome. An email is `DELIVERED` once the platform reports it sent, and `FAILED` when the platform reports the send failed. A social post is `DELIVERED` once the platform has published it. A social post is never reported `FAILED` by an observation alone, because the platform retries a failed post. A send that has not resolved a day after its scheduled time stays `PENDING` while it is investigated, and is reported `FAILED` only if it will not go out. A `FAILED` asset can be deactivated and activated again to retry. See campaign-asset-design.md section 6.4.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryStatusUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<DeliveryStatus> toString()static DeliveryStatusReturns the enum constant of this type with the specified name.static DeliveryStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PENDING
-
DELIVERED
-
FAILED
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<DeliveryStatus>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- DeliveryStatus corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownDeliveryStatuss
-