info.magnolia.module.inplacetemplating.setup
Class TemplatesInstallTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.inplacetemplating.setup.TemplatesInstallTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
public class TemplatesInstallTask
- extends info.magnolia.module.delta.AbstractTask
Install task installing templates.
- Version:
- $Id$
Fields inherited from class info.magnolia.module.delta.AbstractTask |
log |
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
TemplatesInstallTask
public TemplatesInstallTask(String matchPattern,
boolean stripExtension)
TemplatesInstallTask
public TemplatesInstallTask(String taskName,
String taskDescription,
String matchPattern,
boolean stripExtension)
acceptResource
protected boolean acceptResource(info.magnolia.module.InstallContext ctx,
String name)
execute
public void execute(info.magnolia.module.InstallContext installContext)
throws info.magnolia.module.delta.TaskExecutionException
- Throws:
info.magnolia.module.delta.TaskExecutionException
getResourcesToInstall
protected String[] getResourcesToInstall(info.magnolia.module.InstallContext installContext)
updateTemplateContent
protected void updateTemplateContent(info.magnolia.cms.core.Content template,
String resource)
throws IOException,
javax.jcr.RepositoryException
- Throws:
IOException
javax.jcr.RepositoryException
Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.