info.magnolia.module.delta
Class SetPropertyTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.SetPropertyTask
- All Implemented Interfaces:
- Task
public class SetPropertyTask
- extends AbstractRepositoryTask
Sets a new value for a property. Consider using CheckAndModifyPropertyValueTask if you want your update tasks
to only modify expected values.
- Version:
- $Revision: $ ($Author: $)
- Author:
- fgiust
- See Also:
CheckAndModifyPropertyValueTask
Constructor Summary |
SetPropertyTask(java.lang.String workspaceName,
java.lang.String nodePath,
java.lang.String propertyName,
java.lang.String newValue)
|
SetPropertyTask(java.lang.String taskName,
java.lang.String workspaceName,
java.lang.String nodePath,
java.lang.String propertyName,
java.lang.String newValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SetPropertyTask
public SetPropertyTask(java.lang.String workspaceName,
java.lang.String nodePath,
java.lang.String propertyName,
java.lang.String newValue)
SetPropertyTask
public SetPropertyTask(java.lang.String taskName,
java.lang.String workspaceName,
java.lang.String nodePath,
java.lang.String propertyName,
java.lang.String newValue)
doExecute
protected void doExecute(InstallContext installContext)
throws javax.jcr.RepositoryException,
TaskExecutionException
-
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.