info.magnolia.module.templatingkit.setup
Class InstallSTKResourcesTask

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

public class InstallSTKResourcesTask
extends info.magnolia.module.delta.ArrayDelegateTask

This class installs all resources (mainly JS) needed for STK. This class should only be used for install tasks (extrasInstallTasks()), and not for minor delta update tasks, use @class UpdateJavascriptsTask or @class UpdateSingleJavascriptTask instead. As the order of the files is relevant we can't use a pattern.

Version:
$Id: InstallJavascriptsTask.java 50706 2011-11-02 16:18:44Z gjoseph $
Author:
pbracher

Field Summary
static String DEFAULT_JS_PATH
           
protected  String[] processedScripts
           
static String SCRIPLOADER_PATH_LIBRARIES
           
static String SCRIPLOADER_PATH_LIBRARIES_MOBILE
           
static String SCRIPLOADER_PATH_PLUGINS
           
static String SCRIPLOADER_PATH_PLUGINS_MOBILE
           
protected  Map<String,String[]> scriptloaderAndReferences
           
protected  String[][] specialResources
           
 
Constructor Summary
InstallSTKResourcesTask()
           
 
Method Summary
protected  void initScriptloaderMap()
           
 
Methods inherited from class info.magnolia.module.delta.ArrayDelegateTask
addTask, execute, getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_JS_PATH

public static final String DEFAULT_JS_PATH
See Also:
Constant Field Values

SCRIPLOADER_PATH_LIBRARIES

public static final String SCRIPLOADER_PATH_LIBRARIES
See Also:
Constant Field Values

SCRIPLOADER_PATH_LIBRARIES_MOBILE

public static final String SCRIPLOADER_PATH_LIBRARIES_MOBILE
See Also:
Constant Field Values

SCRIPLOADER_PATH_PLUGINS

public static final String SCRIPLOADER_PATH_PLUGINS
See Also:
Constant Field Values

SCRIPLOADER_PATH_PLUGINS_MOBILE

public static final String SCRIPLOADER_PATH_PLUGINS_MOBILE
See Also:
Constant Field Values

processedScripts

protected final String[] processedScripts

specialResources

protected final String[][] specialResources

scriptloaderAndReferences

protected final Map<String,String[]> scriptloaderAndReferences
Constructor Detail

InstallSTKResourcesTask

public InstallSTKResourcesTask()
Method Detail

initScriptloaderMap

protected void initScriptloaderMap()


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