public enum MailingStatusCode extends java.lang.Enum<MailingStatusCode>
isError
method.MailingStatus.getStatusCode()
Enum Constant and Description |
---|
ERROR
There was an attempt to sent the mailing, that failed.
|
INVALID_MESSAGE
There was an attempt to sent the mailing that failed.
|
NEW
Initial state.
|
NO_ADDRESS
There was an attempt to sent the mailing, that failed.
|
NO_GATEWAY
There was an attempt to sent the mailing, that failed.
|
NO_TEMPLATE
There was an attempt to sent the mailing, that failed.
|
NOT_DELIVERABLE
There was an attempt to sent the mailing, that failed.
|
SENT
Mailing has been sent without error
|
Modifier and Type | Method and Description |
---|---|
boolean |
isError()
True if the Status indicates a reason that prevented the Mailing from
being delivered
|
static MailingStatusCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MailingStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailingStatusCode NEW
public static final MailingStatusCode SENT
public static final MailingStatusCode ERROR
public static final MailingStatusCode NO_TEMPLATE
MessageTemplate
could be
created for the Mailing
public static final MailingStatusCode NO_GATEWAY
MessageGateway
public static final MailingStatusCode NO_ADDRESS
MailingRecipient
didn't
provide an address suited for this mailing (eg. no e-mail address)public static final MailingStatusCode INVALID_MESSAGE
MessageTemplate
provided
malformed values eg. e-mail addresses without "@"public static final MailingStatusCode NOT_DELIVERABLE
MessageGateway
denied
relaying of the messagepublic static MailingStatusCode[] values()
for (MailingStatusCode c : MailingStatusCode.values()) System.out.println(c);
public static MailingStatusCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isError()
Copyright © 2010 - 2020 Adobe. All Rights Reserved