public enum ImportPolicy extends Enum<ImportPolicy>
Enum Constant and Description |
---|
DELETE_EXISTING
Delete all profiles before importing the XML file
|
FAIL_ON_DUPLICATES
Throw exception in case of already existing profile with the same name
|
IGNORE_DUPLICATES
In case of conflict on the name, the profile is not imported and the existing profile is kept unmodified
|
REPLACE_DUPLICATES
In case of conflict on the name, it replaces completely the profile including profile entries and profile
mappings
|
Modifier and Type | Method and Description |
---|---|
static ImportPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportPolicy DELETE_EXISTING
public static final ImportPolicy REPLACE_DUPLICATES
public static final ImportPolicy FAIL_ON_DUPLICATES
public static final ImportPolicy IGNORE_DUPLICATES
public static ImportPolicy[] values()
for (ImportPolicy c : ImportPolicy.values()) System.out.println(c);
public static ImportPolicy 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 © 2020 Bonitasoft S.A. All rights reserved.