public enum ReplacePolicy extends Enum<ReplacePolicy>
| Enum Constant and Description |
|---|
DELETE
Delete all objects
|
DELETE_ORPHANED
Delete orphaned objects
|
UNLINK
Unlink objects only
|
| Modifier and Type | Method and Description |
|---|---|
static ReplacePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplacePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplacePolicy UNLINK
public static final ReplacePolicy DELETE
public static final ReplacePolicy DELETE_ORPHANED
public static ReplacePolicy[] values()
for (ReplacePolicy c : ReplacePolicy.values()) System.out.println(c);
public static ReplacePolicy 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–2023 GReD. All rights reserved.