com.ibm.commerce.marketing.promotion.condition

Interface Condition

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • evaluate

        boolean evaluate(PromotionContext context)
                  throws PromotionConditionEvaluationException
        The evaluate method is used to determine if the condition has been satisfied successfully. If true is returned, the condition is considered satisfied. If false, the condition is considered not satisfied.
        Parameters:
        context - The PromotionContext.
        Returns:
        true if the condition has been satisfied successfully. Returns false otherwise.
        Throws:
        PromotionConditionEvaluationException - This exception is thrown if the evaluation encounters unexpected problems.