The module provides a set of commands for removing selected versions from the version history.
All the Which versions are selected for deletion are configurable through voters. You can define complex conditions to identify if a version should be deleted.
The commands can be found in the freeze version cleaner catalog:
Start a global freeze, or continue a global freeze.
If called multiple times without a corresponding calls to stopGlobalFreeze or toggleGlobalFreeze, the freeze will stay in place until the same number of calls to stopGlobalFreeze are executed or a single call to toggleGlobalFreeze is made.
Attempts to stop a global freeze.
The outcome of the attempt is dependent on sequence factors. The index in which the stop is called makes a difference in the default use case. However, using the
force parameter in the command context can be used to end a freeze immediately. Set the boolean parameter to true to force the stop to be final.
Toggles the state of the flag.
Will start a global freeze if a freeze is not active or end a global freeze is one is currently active.
Using toggleGlobalFreeze will always start or stop a freeze, even if a freeze has been invoked by multiple sources.
Check the state of the freeze flag.
Will return false if a global freeze is active and true if not. You can use this command in command chains to check if a global freeze is in place.
Using Magnolia's REST API it's possible to start. stop, or toggle a freeze. The command endpoint makes this possible. After installation of the freeze module you should see the commands enabled under rest-services.
Remove unneeded versions according to its configuration.
Remove all versions found except root and leaf versions.
- This module is at INCUBATOR level.
- Versions prior to 1.3
- Used a different groupid and artifactId. Please make note of the change.
- Version 1.6.1
Jira server Magnolia - Issue tracker serverId 500b06a6-e204-3125-b989-2d75b973d05f key FREEZE-4
- Version 1.6
- added notifications when freeze is started and ended
- Version 1.5
- Fixed widgetset warnings
- Version 1.4
- Freeze state now exposed through MgnlContext.
- Commands changed to update freeze state parameter.
- Rest endpoints update for freeze state parameter.
- Version 1.3 - Initial release of the extensions version of the module.