public static enum CodeUpgradeTask.MigrationType extends java.lang.Enum<CodeUpgradeTask.MigrationType>
CodeUpgradeTask needs to be executed immediately with upgrade startup or may be delayed| Enum Constant and Description |
|---|
DELAYED
CodeUpgradeTasks marked DELAYED will not be executed unless explicitly triggered via system property MigrationModeCheck.PROP_MIGRATION
Providing the option to decouple the adjustment of depending code from the upgrade. |
IMMEDIATE
CodeUpgradeTasks marked IMMEDIATE will be executed with the upgrade startup. |
| Modifier and Type | Method and Description |
|---|---|
static CodeUpgradeTask.MigrationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeUpgradeTask.MigrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeUpgradeTask.MigrationType IMMEDIATE
CodeUpgradeTasks marked IMMEDIATE will be executed with the upgrade startup.
Legacy behavior no longer recommended as it forces consuming code to be upgraded along with the upgradepublic static final CodeUpgradeTask.MigrationType DELAYED
CodeUpgradeTasks marked DELAYED will not be executed unless explicitly triggered via system property MigrationModeCheck.PROP_MIGRATION
Providing the option to decouple the adjustment of depending code from the upgrade.public static CodeUpgradeTask.MigrationType[] values()
for (CodeUpgradeTask.MigrationType c : CodeUpgradeTask.MigrationType.values()) System.out.println(c);
public static CodeUpgradeTask.MigrationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2010 - 2023 Adobe. All Rights Reserved