Package com.day.cq.compat.codeupgrade
Interface MigrationModeCheck
-
@ProviderType public interface MigrationModeCheckA 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.StringPROP_MIGRATIONSystem Property to be used to trigger forced migration of delayedCodeUpgradeTasks
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisDelayedMigrationActive()booleanisDelayedMigrationActive(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 delayedCodeUpgradeTasks- See Also:
- Constant Field Values
-
-
Method Detail
-
isDelayedMigrationActive
boolean isDelayedMigrationActive()
- Returns:
trueif 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:
trueif given delayed CodeUpgradeTasks is to be executed
-
-