public class ExcludeByNameItemFilter extends Object implements org.craftercms.core.service.ItemFilter
ItemFilter that rejects an item if its name matches any one of a list of regexes.| Constructor and Description |
|---|
ExcludeByNameItemFilter(String excludeRegex) |
ExcludeByNameItemFilter(String[] excludeRegexes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(org.craftercms.core.service.Item item,
boolean runningBeforeProcessing) |
boolean |
runAfterProcessing() |
boolean |
runBeforeProcessing() |
String |
toString() |
public ExcludeByNameItemFilter(String excludeRegex)
public ExcludeByNameItemFilter(String[] excludeRegexes)
public boolean runBeforeProcessing()
runBeforeProcessing in interface org.craftercms.core.service.ItemFilterpublic boolean runAfterProcessing()
runAfterProcessing in interface org.craftercms.core.service.ItemFilterpublic boolean accepts(org.craftercms.core.service.Item item,
boolean runningBeforeProcessing)
accepts in interface org.craftercms.core.service.ItemFilterCopyright © 2014 CrafterCMS. All Rights Reserved.