public class CheckAndModifyPropertyValueTask extends PropertyValuesTask
DO_NOTHING, log
Constructor and Description |
---|
CheckAndModifyPropertyValueTask(String workspaceName,
String nodePath,
String propertyName,
Collection<String> expectedCurrentValues,
String newValue) |
CheckAndModifyPropertyValueTask(String nodePath,
String propertyName,
String expectedCurrentValue,
String newValue) |
CheckAndModifyPropertyValueTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
Collection<String> expectedCurrentValues,
String newValue) |
CheckAndModifyPropertyValueTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
String expectedCurrentValue,
String newValue) |
Modifier and Type | Method and Description |
---|---|
void |
execute(InstallContext ctx)
A good-citizen task should execute itself responsibly: it should know
what to do in case of problems: for instance, fixable or irrelevant
issues should usually just be logged used the InstallContext methods,
when the user can fix them later on.
|
checkAndModifyPartOfPropertyValue, checkAndModifyPropertyValue, checkAndModifyPropertyValue, checkAndModifyPropertyValue, checkOrCreateProperty, checkOrCreateProperty, format, format, format, newProperty, newProperty
getDescription, getName, toString
public CheckAndModifyPropertyValueTask(String nodePath, String propertyName, String expectedCurrentValue, String newValue)
public CheckAndModifyPropertyValueTask(String workspaceName, String nodePath, String propertyName, Collection<String> expectedCurrentValues, String newValue)
public CheckAndModifyPropertyValueTask(String name, String description, String workspaceName, String nodePath, String propertyName, String expectedCurrentValue, String newValue)
public void execute(InstallContext ctx)
Task
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.