public class FilterPredicate extends Object
entry
.
A filter predicate typically belongs to a AggregateFilter
which in turn is defined for an AggregateFeed
.AggregateFilter
,
com.sun.syndication.feed.synd.SyndFeed
,
AggregateFeed
Constructor and Description |
---|
FilterPredicate(info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition condition,
String property,
String regularExpression)
Create a new FilterPredicate for the given
condition , property and
regularExpression . |
Modifier and Type | Method and Description |
---|---|
info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition |
getCondition()
Return the condition for this predicate.
|
String |
getProperty()
Return the property of the feed this predicate applies to.
|
String |
getRegularExpression()
Return the regular expression for this predicate.
|
public FilterPredicate(info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition condition, String property, String regularExpression)
condition
, property
and
regularExpression
.condition
- the condition
for this predicateproperty
- the property of the feed this predicate applies to (eg. 'author')regularExpression
- the regular expression the value of the property should or should not matchpublic info.magnolia.module.rssaggregator.importhandler.FilterPredicate.Condition getCondition()
public String getProperty()
public String getRegularExpression()
Copyright © 2016 Magnolia International Ltd.. All rights reserved.