public final class ImportBehavior
extends java.lang.Object
ProtectedItemImporter
may support this
as part of the overall import configuration.Modifier and Type | Field and Description |
---|---|
static int |
ABORT
Aborts the import as soon as invalid values are detected throwing
a
ConstraintViolationException . |
static int |
BESTEFFORT
Same as
IGNORE but in addition tries to circumvent the
problem. |
static int |
IGNORE
If a value cannot be set due to constraints
enforced by the API implementation, the failure is logged as
warning and the value is ignored.
|
static java.lang.String |
NAME_ABORT |
static java.lang.String |
NAME_BESTEFFORT |
static java.lang.String |
NAME_IGNORE |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
nameFromValue(int importBehavior) |
static int |
valueFromString(java.lang.String behaviorString) |
public static final int IGNORE
public static final int BESTEFFORT
IGNORE
but in addition tries to circumvent the
problem. This option should only be used with validated and trusted
XML passed to the Session
and Workspace
import API.public static final int ABORT
ConstraintViolationException
.public static final java.lang.String NAME_IGNORE
public static final java.lang.String NAME_BESTEFFORT
public static final java.lang.String NAME_ABORT
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"