Interface SimpleRule

All Superinterfaces:
Serializable
All Known Subinterfaces:
OfferRule, PageRule, StructuredContentRule
All Known Implementing Classes:
OfferOfferRuleXrefImpl, OfferRuleImpl, PageRuleImpl, StructuredContentRuleImpl

public interface SimpleRule extends Serializable
Represents a class containing an MVEL rule
Author:
Jeff Fischer
  • Method Summary

    Modifier and Type
    Method
    Description
    The rule in the form of an MVEL expression
    void
    setMatchRule(String matchRule)
    Sets the match rule used to test this item.
  • Method Details

    • getMatchRule

      String getMatchRule()
      The rule in the form of an MVEL expression
      Returns:
      the rule as an MVEL string
    • setMatchRule

      void setMatchRule(@Nonnull String matchRule)
      Sets the match rule used to test this item.
      Parameters:
      matchRule - the rule as an MVEL string