public interface UpgradeOperation
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String site)
Performs a single upgrade operation.
|
void |
init(String sourceVersion,
String targetVersion,
org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config)
Initializes the instance with the given configuration.
|
void init(String sourceVersion, String targetVersion, org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) throws UpgradeException
sourceVersion - the starting versiontargetVersion - the target versionconfig - operation configurationUpgradeExceptionvoid execute(String site) throws UpgradeException
site - the name of the siteUpgradeException - if there is any error performing the upgradeCopyright © 2022 CrafterCMS. All rights reserved.