info.magnolia.module.templatingkit.setup
Class MoveIntenseDebateIdTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.templatingkit.setup.MoveIntenseDebateIdTask
- All Implemented Interfaces:
- info.magnolia.module.delta.Task
public class MoveIntenseDebateIdTask
- extends info.magnolia.module.delta.AbstractTask
A task to move the intenseDebateId which may be used on the stkComments-component.
When the task has been executed successfully, intenseDebateId will be a property of a node with the path
/modules/standard-templating-kit/templates/components/features/stkComments/parameters
; that node will be created if required.
If the path /modules/standard-templating-kit/templates/components/features/stkComments
doesn't exist,
this indicates considerably customized templates and hence configuration will not be changed.
Fields inherited from class info.magnolia.module.delta.AbstractTask |
DO_NOTHING, log |
Method Summary |
void |
execute(info.magnolia.module.InstallContext installContext)
|
Methods inherited from class info.magnolia.module.delta.AbstractTask |
getDescription, getName, toString |
INTENSEDEBATEID_PROPERTYNAME
public static final String INTENSEDEBATEID_PROPERTYNAME
- See Also:
- Constant Field Values
STKCOMMENTSCOMPONENT_PATH
public static final String STKCOMMENTSCOMPONENT_PATH
- See Also:
- Constant Field Values
PARAMETERS_NODE_NAME
public static final String PARAMETERS_NODE_NAME
- See Also:
- Constant Field Values
LEGACY_COMMENT_NODE_PATHS
public static final String[] LEGACY_COMMENT_NODE_PATHS
- Paths to the old comments config (STK, ETK vs. MultiSite).
A multi-site configuration should precede the STK config (last element in array, so it overrides any STK setting).
WARN_MESSAGE_NOTCHANGINGCONFIG
public static final String WARN_MESSAGE_NOTCHANGINGCONFIG
- See Also:
- Constant Field Values
MoveIntenseDebateIdTask
public MoveIntenseDebateIdTask()
execute
public void execute(info.magnolia.module.InstallContext installContext)
throws info.magnolia.module.delta.TaskExecutionException
- Throws:
info.magnolia.module.delta.TaskExecutionException
Copyright © 2008-2014 Magnolia International Ltd.. All Rights Reserved.