java.io.Serializable
, java.lang.Comparable<ShadowScope>
public enum ShadowScope extends java.lang.Enum<ShadowScope>
Enum Constant | Description |
---|---|
CHILD_VALUE_OBJECT |
JaVers loads all child ValueObjects owned by selected Entities.
|
COMMIT_DEEP |
JaVers restores commit-deep shadow graph.
|
DEEP_PLUS |
JaVers tries to restore an original object graph
with (possibly) all object references resolved.
|
SHALLOW |
Default scope.
Object shadows are created only from snapshots selected directly in the main JQL query. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isCommitDeep() |
|
static ShadowScope |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ShadowScope[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadowScope SHALLOW
public static final ShadowScope COMMIT_DEEP
public static final ShadowScope DEEP_PLUS
maxGapsToFill
limits the number of objects that would be loaded.
public static final ShadowScope CHILD_VALUE_OBJECT
public static ShadowScope[] values()
for (ShadowScope c : ShadowScope.values()) System.out.println(c);
public static ShadowScope 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 nullpublic boolean isCommitDeep()