info.magnolia.module.templatingkit.setup
Class ThemeInstallTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.templatingkit.setup.ThemeInstallTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class ThemeInstallTask
extends info.magnolia.module.delta.AbstractTask

Installs all css files under /templating-kit/themes/themeName/css to the resources and the images under /templating-kit/themes/themeName/img to the dms while themeName is a property in the module descriptor.

Version:
$Id$
Author:
pbracher

Nested Class Summary
 class ThemeInstallTask.ResourceNameFilter
          Filter allowing only theme xml files to pass.
 
Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
ThemeInstallTask()
           
ThemeInstallTask(boolean isUpdate)
           
 
Method Summary
 void execute(info.magnolia.module.InstallContext ctx)
           
protected  String getThemeName(info.magnolia.module.InstallContext ctx)
           
 
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
 

Constructor Detail

ThemeInstallTask

public ThemeInstallTask()

ThemeInstallTask

public ThemeInstallTask(boolean isUpdate)
Method Detail

execute

public void execute(info.magnolia.module.InstallContext ctx)
             throws info.magnolia.module.delta.TaskExecutionException
Throws:
info.magnolia.module.delta.TaskExecutionException

getThemeName

protected String getThemeName(info.magnolia.module.InstallContext ctx)


Copyright © 2008-2014 Magnolia International Ltd.. All Rights Reserved.