info.magnolia.module.blossom.setup
Class RemoveNodeIfExistsTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.blossom.setup.RemoveNodeIfExistsTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
public class RemoveNodeIfExistsTask
- extends info.magnolia.module.delta.AbstractRepositoryTask
Removes a node if it exists otherwise does nothing. Unlike RemoveNodeTask
it does
not issue a warning if the node to remove does not exist.
Fields inherited from class info.magnolia.module.delta.AbstractTask |
log |
Method Summary |
protected void |
doExecute(info.magnolia.module.InstallContext installContext)
|
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask |
execute |
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
RemoveNodeIfExistsTask
public RemoveNodeIfExistsTask(String name,
String description,
String workspaceName,
String pathToRemove)
doExecute
protected void doExecute(info.magnolia.module.InstallContext installContext)
throws javax.jcr.RepositoryException,
info.magnolia.module.delta.TaskExecutionException
- Specified by:
doExecute
in class info.magnolia.module.delta.AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException
Copyright © 2009-2014 Magnolia International Ltd.. All Rights Reserved.