Package com.day.cq.mcm.campaign
Interface NewsletterStatus
public interface NewsletterStatus
Reflects the current status of a newsletter.
Implementations should be immutable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Internal status - newsletter activation or publication to Adobe Campaign failedstatic final int
Internal status - status could not be determined because the delivery is missing on Adobe Campaignstatic final int
Internal status - delivery is being prepared for publishing to Adobe Campaignstatic final int
Internal status - no status available (not yet published to Adobe Campaign) -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the status as a numeric code.Gets an (internationalized) variant of the status in a human-readable format.Gets the status as a String code.
-
Field Details
-
UNAVAILABLE
static final int UNAVAILABLEInternal status - no status available (not yet published to Adobe Campaign)- See Also:
-
FAILED
static final int FAILEDInternal status - newsletter activation or publication to Adobe Campaign failed- See Also:
-
MISSING
static final int MISSINGInternal status - status could not be determined because the delivery is missing on Adobe Campaign- See Also:
-
PREPARING
static final int PREPARINGInternal status - delivery is being prepared for publishing to Adobe Campaign- See Also:
-
-
Method Details
-
getStatusCode
int getStatusCode()Gets the status as a numeric code.- Returns:
- The status (numeric)
-
getStatusString
String getStatusString()Gets the status as a String code.- Returns:
- The status (textual)
-
getStatusMessage
String getStatusMessage()Gets an (internationalized) variant of the status in a human-readable format.- Returns:
- The human-readable status
-