info.magnolia.module.delta
Class RemoveInstallFilesTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.RemoveInstallFilesTask
All Implemented Interfaces:
Task

public class RemoveInstallFilesTask
extends AbstractRepositoryTask

Removes install file(s) from ${magnolia.home}/${filesPath} and its md5 node from "config:server/install/mgnl-files/${filesPath}".


Field Summary
protected static String INSTALL_FILES_PATH
           
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
RemoveInstallFilesTask(String name, String filesPath)
           
RemoveInstallFilesTask(String name, String description, String filesPath)
           
 
Method Summary
protected  void doExecute(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTALL_FILES_PATH

protected static final String INSTALL_FILES_PATH
See Also:
Constant Field Values
Constructor Detail

RemoveInstallFilesTask

public RemoveInstallFilesTask(String name,
                              String filesPath)

RemoveInstallFilesTask

public RemoveInstallFilesTask(String name,
                              String description,
                              String filesPath)
Method Detail

doExecute

protected void doExecute(InstallContext ctx)
                  throws javax.jcr.RepositoryException,
                         TaskExecutionException
Specified by:
doExecute in class AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
TaskExecutionException


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.