public static enum DuplicationStrategy.Action extends Enum<DuplicationStrategy.Action>
Enum Constant and Description |
---|
ERROR |
KEEP_ORIGINAL |
REPLACE_ORIGINAL |
Modifier and Type | Method and Description |
---|---|
static DuplicationStrategy.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuplicationStrategy.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplicationStrategy.Action ERROR
public static final DuplicationStrategy.Action KEEP_ORIGINAL
public static final DuplicationStrategy.Action REPLACE_ORIGINAL
public static DuplicationStrategy.Action[] values()
for (DuplicationStrategy.Action c : DuplicationStrategy.Action.values()) System.out.println(c);
public static DuplicationStrategy.Action 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 © 2001-2017 Red Hat, Inc. All Rights Reserved.