public class ThemeInstallTask
extends info.magnolia.module.delta.AbstractTask
/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.Modifier and Type | Class and Description |
---|---|
class |
ThemeInstallTask.ResourceNameFilter
Filter allowing only theme xml files to pass.
|
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_THEME_PATH_PATTERN |
protected static String |
THEME_NAME_PROPERTY |
Constructor and Description |
---|
ThemeInstallTask() |
ThemeInstallTask(boolean isUpdate) |
ThemeInstallTask(boolean isUpdate,
boolean stripExtensions) |
Modifier and Type | Method and Description |
---|---|
void |
execute(info.magnolia.module.InstallContext ctx) |
protected String |
getThemeName(info.magnolia.module.InstallContext ctx) |
protected static final String THEME_NAME_PROPERTY
protected static final String DEFAULT_THEME_PATH_PATTERN
public ThemeInstallTask()
public ThemeInstallTask(boolean isUpdate)
public ThemeInstallTask(boolean isUpdate, boolean stripExtensions)
public void execute(info.magnolia.module.InstallContext ctx) throws info.magnolia.module.delta.TaskExecutionException
info.magnolia.module.delta.TaskExecutionException
protected String getThemeName(info.magnolia.module.InstallContext ctx)
Copyright © 2008–2015 Magnolia International Ltd.. All rights reserved.