Package com.day.cq.compat.codeupgrade
Interface CodeUpgradeTask
-
- All Superinterfaces:
java.lang.Runnable
@ConsumerType public interface CodeUpgradeTask extends java.lang.RunnableA service that executes a code upgrade. From CQ5.6 on, such services are executed by the cq-upgrades-executor bundle Activator, synchronously when that bundle starts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCodeUpgradeTask.MigrationTypeDeclares if theCodeUpgradeTaskneeds to be executed immediately with upgrade startup or may be delayed
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelUpgrade()Called to cancel an upgrade that might be in progressjava.lang.StringgetProgressInfo()booleanupgradeNeeded()
-