public static enum CodeUpgradeTask.MigrationType extends java.lang.Enum<CodeUpgradeTask.MigrationType>
CodeUpgradeTask
needs to be executed immediately with upgrade startup or may be delayedEnum Constant and Description |
---|
DELAYED
CodeUpgradeTask s 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
CodeUpgradeTask s 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
CodeUpgradeTask
s 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
CodeUpgradeTask
s 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 null"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"