public class NewPropertyTask extends PropertyValuesTask
DO_NOTHING, log
Constructor and Description |
---|
NewPropertyTask(String name,
String nodePath,
String propertyName,
Object value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
BigDecimal value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Binary value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
Boolean value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
Calendar value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
Double value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
InputStream value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
Long value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Node value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
String value) |
NewPropertyTask(String name,
String description,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Value value) |
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 NewPropertyTask(String name, String nodePath, String propertyName, Object value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, String value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, javax.jcr.Value value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, javax.jcr.Node value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, javax.jcr.Binary value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, Calendar value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, BigDecimal value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, Long value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, Double value)
public NewPropertyTask(String name, String description, String workspaceName, String nodePath, String propertyName, Boolean value)
public void execute(InstallContext ctx)
Task
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.