public interface PatternFilter extends XMLizable
PatternFilter
interface contains the methods common to all
pattern filters. This interface extends the XMLizable
interface. All the pattern filters should implement this interface.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(LineItemSet input,
PromotionContext context)
This method checks if the
LineItemSet passed as input
satisfies the condition specified in the filter. |
static final java.lang.String COPYRIGHT
boolean evaluate(LineItemSet input, PromotionContext context)
LineItemSet
passed as input
satisfies the condition specified in the filter.input
- LineItemSet
context
- PromotionContext
true
if condition satisfied;
false
otherwise