Class TaggingByPathProcessor
java.lang.Object
org.craftercms.core.processors.impl.AbstractTaggingProcessor
org.craftercms.core.processors.impl.TaggingByPathProcessor
- All Implemented Interfaces:
ItemProcessor
ItemProcessor that adds a new tag or field to items on specific paths.- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap of paths & values, values can be multiple (separated by commas).Fields inherited from class org.craftercms.core.processors.impl.AbstractTaggingProcessor
defaultValue, newField -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.craftercms.core.processors.impl.AbstractTaggingProcessor
addNewField, process, setDefaultValue, setNewFieldMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.craftercms.core.processors.ItemProcessor
isExclusive
-
Field Details
-
pathMapping
Map of paths & values, values can be multiple (separated by commas).
-
-
Constructor Details
-
TaggingByPathProcessor
public TaggingByPathProcessor()
-
-
Method Details
-
setPathMapping
-
getTagValues
Description copied from class:AbstractTaggingProcessorIf this method returns null or an empty string the item will not be tagged.- Specified by:
getTagValuesin classAbstractTaggingProcessor- Returns:
- values to use for tagging the item
-
equals
-
hashCode
public int hashCode() -
toString
-