public enum NameConflictResolution extends java.lang.Enum<NameConflictResolution>
Enum Constant and Description |
---|
MERGE
Elements with the same name are considered the same and are merged if possible.
|
RENAME
Elements with the same name are considered different and the later occurrence is renamed.
|
Modifier and Type | Method and Description |
---|---|
static NameConflictResolution |
fromValue(int value) |
int |
getValue() |
static NameConflictResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NameConflictResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameConflictResolution MERGE
public static final NameConflictResolution RENAME
public static NameConflictResolution[] values()
for (NameConflictResolution c : NameConflictResolution.values()) System.out.println(c);
public static NameConflictResolution 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 static NameConflictResolution fromValue(int value)
public int getValue()