org.broadleafcommerce.common.rule
Interface SimpleRule

All Superinterfaces:
Serializable

public interface SimpleRule
extends Serializable

Represents a class containing an MVEL rule

Author:
Jeff Fischer

Method Summary
 String getMatchRule()
          The rule in the form of an MVEL expression
 void setMatchRule(String matchRule)
          Sets the match rule used to test this item.
 

Method Detail

getMatchRule

@Nonnull
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


Copyright © 2013. All Rights Reserved.