public enum ImportPolicy extends Enum<ImportPolicy>
OrganizationAPI.importOrganization(String)
and OrganizationAPI.importOrganization(String, ImportPolicy)
to see the usage.OrganizationAPI
Enum Constant and Description |
---|
FAIL_ON_DUPLICATES
If an item already exists the import fail and is reverted to previous state
|
IGNORE_DUPLICATES
Existing items are kept
|
MERGE_DUPLICATES
Existing items in current organization are updated to have the values of the item in the given organization
|
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 MERGE_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 © 2014 Bonitasoft S.A.. All rights reserved.