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