public class ReplaceResourcePropertyValues extends Object implements Action
| Constructor and Description |
|---|
ReplaceResourcePropertyValues(String oldValue,
String newValue,
List<String> propertyNames)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
doAction(org.apache.sling.api.resource.Resource resource)
Runs an action.
|
protected String |
getNewValue(String propertyValue)
Returns the new property value.
|
protected boolean |
valueMatches(String value)
Checks if the value matches the searched value.
|
public String doAction(@Nonnull org.apache.sling.api.resource.Resource resource) throws org.apache.sling.api.resource.PersistenceException
Actionprotected boolean valueMatches(String value)
value - content property valueCopyright © 2019. All rights reserved.