info.magnolia.ui.dialog.setup.migration
Class CheckBoxSwitchControlMigrator

java.lang.Object
  extended by info.magnolia.ui.dialog.setup.migration.CheckBoxSwitchControlMigrator
All Implemented Interfaces:
ControlMigrator

public class CheckBoxSwitchControlMigrator
extends Object
implements ControlMigrator

Migrate an CheckboxSwitch control to a CheckboxField.


Constructor Summary
CheckBoxSwitchControlMigrator()
           
 
Method Summary
 void migrate(javax.jcr.Node controlNode, info.magnolia.module.InstallContext installContext)
          Take a specific control's migration action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckBoxSwitchControlMigrator

public CheckBoxSwitchControlMigrator()
Method Detail

migrate

public void migrate(javax.jcr.Node controlNode,
                    info.magnolia.module.InstallContext installContext)
             throws javax.jcr.RepositoryException
Description copied from interface: ControlMigrator
Take a specific control's migration action.

Specified by:
migrate in interface ControlMigrator
Parameters:
controlNode - on which the migration is done. Topically, remove, rename, add properties, nodes.
installContext - used to log migration issues or warn user for interaction.
Throws:
javax.jcr.RepositoryException


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