Class UpdateVersionUpgradeOperation<T>
java.lang.Object
org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation<T>
org.craftercms.commons.upgrade.impl.operations.UpdateVersionUpgradeOperation<T>
- Type Parameters:
T- The target type supported
- All Implemented Interfaces:
UpgradeOperation<T>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
Implementation of
UpgradeOperation that updates the current version for
the given target- Since:
- 3.1.5
- Author:
- joseross
-
Field Summary
FieldsFields inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation
applicationContext, currentVersion, enabled, logger, nextVersion -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.craftercms.commons.upgrade.impl.operations.AbstractUpgradeOperation
doInit, execute, init, loadResource, setApplicationContext, setEnabled
-
Field Details
-
versionProvider
The version provider
-
-
Constructor Details
-
UpdateVersionUpgradeOperation
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classAbstractUpgradeOperation<T>- Throws:
Exception
-