info.magnolia.module.templatingkit.setup.for2_7
Class ReorderSTKAppsTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by info.magnolia.module.delta.NodeExistsDelegateTask
              extended by info.magnolia.module.templatingkit.setup.for2_7.ReorderSTKAppsTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class ReorderSTKAppsTask
extends info.magnolia.module.delta.NodeExistsDelegateTask

This task ensures proper ordering of the STK apps (those added by STKLegacyUiToMagnolia5AppProviderTask) in the STK group of the applauncher. Since magnolia 5.2, inplace-templating and resources modules bootstrap their respective app in STK group on their own, i.e. before STK, hence resulting in STK apps being incorrectly positioned after these two.
Additionally, channels and dialog apps have now been swapped.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
ReorderSTKAppsTask()
           
 
Method Summary
 void execute(info.magnolia.module.InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.NodeExistsDelegateTask
condition
 
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

ReorderSTKAppsTask

public ReorderSTKAppsTask()
Method Detail

execute

public void execute(info.magnolia.module.InstallContext ctx)
             throws info.magnolia.module.delta.TaskExecutionException
Specified by:
execute in interface info.magnolia.module.delta.Task
Overrides:
execute in class info.magnolia.module.delta.ConditionalDelegateTask
Throws:
info.magnolia.module.delta.TaskExecutionException


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