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 failed
      static int MISSING
      Internal status - status could not be determined because the delivery is missing on Adobe Campaign
      static int PREPARING
      Internal status - delivery is being prepared for publishing to Adobe Campaign
      static int UNAVAILABLE
      Internal status - no status available (not yet published to Adobe Campaign)
    • 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