public class SetPropertyTask extends PropertyValuesTask
CheckAndModifyPropertyValueTask
DO_NOTHING, log
Constructor and Description |
---|
SetPropertyTask(String workspaceName,
String nodePath,
String propertyName,
String newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
BigDecimal newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Binary newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
Boolean newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
Calendar newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
Double newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
InputStream newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
Long newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Node newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
String newValue) |
SetPropertyTask(String taskName,
String workspaceName,
String nodePath,
String propertyName,
javax.jcr.Value newValue) |
Modifier and Type | Method and Description |
---|---|
void |
execute(InstallContext installContext)
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 SetPropertyTask(String workspaceName, String nodePath, String propertyName, String newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, String newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, javax.jcr.Value newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, javax.jcr.Node newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, javax.jcr.Binary newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, Calendar newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, BigDecimal newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, Long newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, Double newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, Boolean newValue)
public SetPropertyTask(String taskName, String workspaceName, String nodePath, String propertyName, InputStream newValue)
public void execute(InstallContext installContext)
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.