public class TaggingByPathProcessor extends AbstractTaggingProcessor
ItemProcessor that adds a new tag or field to items on specific paths.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
pathMapping
Map of paths & values, values can be multiple (separated by commas).
|
defaultValue, newField| Constructor and Description |
|---|
TaggingByPathProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
protected String |
getTagValues(Item item)
If this method returns null or an empty string the item will not be tagged.
|
int |
hashCode() |
void |
setPathMapping(Map<String,String> pathMapping) |
String |
toString() |
addNewField, process, setDefaultValue, setNewFieldprotected String getTagValues(Item item)
AbstractTaggingProcessorgetTagValues in class AbstractTaggingProcessorCopyright © 2018 CrafterCMS. All rights reserved.