Package com.day.cq.compat.codeupgrade
Interface MigrationModeCheck
-
@ProviderType public interface MigrationModeCheck
A service to check if delayed CodeUpgradeTasks are supposed to be executed. Checks for System PropertyPROP_MIGRATION
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_MIGRATION
System Property to be used to trigger forced migration of delayedCodeUpgradeTask
s
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDelayedMigrationActive()
boolean
isDelayedMigrationActive(CodeUpgradeTask codeUpgradeTask)
Detect if a specified code upgrade task should be executed
-
-
-
Field Detail
-
PROP_MIGRATION
static final java.lang.String PROP_MIGRATION
System Property to be used to trigger forced migration of delayedCodeUpgradeTask
s- See Also:
- Constant Field Values
-
-
Method Detail
-
isDelayedMigrationActive
boolean isDelayedMigrationActive()
- Returns:
true
if any delayed CodeUpgradeTasks are to be executed
-
isDelayedMigrationActive
boolean isDelayedMigrationActive(CodeUpgradeTask codeUpgradeTask)
Detect if a specified code upgrade task should be executed- Parameters:
codeUpgradeTask
- the task to validate if it needs to be executed- Returns:
true
if given delayed CodeUpgradeTasks is to be executed
-
-