Enum Class MarketingMessageTargetType

java.lang.Object
java.lang.Enum<MarketingMessageTargetType>
com.broadleafcommerce.promotion.offer.domain.type.MarketingMessageTargetType
All Implemented Interfaces:
Serializable, Comparable<MarketingMessageTargetType>, Constable

public enum MarketingMessageTargetType extends Enum<MarketingMessageTargetType>

Enumerates the types of items a marketing message can target. This determines with what items an offer's marketing messages will be displayed. By default, they can display only with an offer's targets, qualifiers, or either.

By comparison, the location type determines the kinds of pages on which the message can be displayed. Thus, for example, these 2 types together could determine that a message should appear only next to an offer's targets in the cart view and appear no where else.

Author:
Nathan Moore (nathanmoore).
  • Enum Constant Details

  • Method Details

    • values

      public static MarketingMessageTargetType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MarketingMessageTargetType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null