@Incubating public enum DuplicatesStrategy extends Enum<DuplicatesStrategy>
Enum Constant and Description |
---|
EXCLUDE
Only the first file with a given relative path will be
included.
|
INCLUDE
Files with the same relative path should be included.
|
Modifier and Type | Method and Description |
---|---|
static DuplicatesStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuplicatesStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplicatesStrategy INCLUDE
public static final DuplicatesStrategy EXCLUDE
public static DuplicatesStrategy[] values()
for (DuplicatesStrategy c : DuplicatesStrategy.values()) System.out.println(c);
public static DuplicatesStrategy 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 null