@PublicApi public enum ImportMode extends Enum<ImportMode>
ImportContext
to retrieve the current import mode.ImportContext.getImportMode()
Enum Constant and Description |
---|
MERGE
Configuration Manager deploys a project snapshot or a system snapshot in "merge" mode.
|
RESTORE
Configuration Manager deploys a system snapshot in "restore" mode.
|
Modifier and Type | Method and Description |
---|---|
static ImportMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportMode MERGE
public static final ImportMode RESTORE
public static ImportMode[] values()
for (ImportMode c : ImportMode.values()) System.out.println(c);
public static ImportMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.