Package com.day.cq.compat.codeupgrade
Interface CodeUpgradeTask
-
- All Superinterfaces:
java.lang.Runnable
@ConsumerType public interface CodeUpgradeTask extends java.lang.Runnable
A 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 class
CodeUpgradeTask.MigrationType
Declares if theCodeUpgradeTask
needs to be executed immediately with upgrade startup or may be delayed
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancelUpgrade()
Called to cancel an upgrade that might be in progressjava.lang.String
getProgressInfo()
boolean
upgradeNeeded()
-