public class CheckOrCreatePropertyTask extends PropertyValuesTask
DO_NOTHING, log
Constructor and Description |
---|
CheckOrCreatePropertyTask(String name,
String nodePath,
String propertyName,
String expectedValue) |
CheckOrCreatePropertyTask(String name,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue) |
CheckOrCreatePropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue) |
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, checkOrCreateProperty, format, format, format, newProperty
getDescription, getName, toString
public CheckOrCreatePropertyTask(String name, String nodePath, String propertyName, String expectedValue)
public CheckOrCreatePropertyTask(String name, String workspaceName, String nodePath, String propertyName, String expectedValue)
public void execute(InstallContext ctx) throws TaskExecutionException
Task
TaskExecutionException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.