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 final int
    Internal status - newsletter activation or publication to Adobe Campaign failed
    static final int
    Internal status - status could not be determined because the delivery is missing on Adobe Campaign
    static final int
    Internal status - delivery is being prepared for publishing to Adobe Campaign
    static final int
    Internal status - no status available (not yet published to Adobe Campaign)
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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 UNAVAILABLE
      Internal status - no status available (not yet published to Adobe Campaign)
      See Also:
    • FAILED

      static final int FAILED
      Internal status - newsletter activation or publication to Adobe Campaign failed
      See Also:
    • MISSING

      static final int MISSING
      Internal status - status could not be determined because the delivery is missing on Adobe Campaign
      See Also:
    • PREPARING

      static final int PREPARING
      Internal 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