public static enum MergeUtil.ConflictResolution extends java.lang.Enum<MergeUtil.ConflictResolution>
Enum Constant and Description |
---|
NOT_ALLOWED
Do not allow conflicts.
|
SOURCE_PREFERRED
Prefer source changes if conflicts are detected.
|
TARGET_PREFERRED
Prefer target changes if conflicts are detected.
|
Modifier and Type | Method and Description |
---|---|
static MergeUtil.ConflictResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MergeUtil.ConflictResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeUtil.ConflictResolution TARGET_PREFERRED
public static final MergeUtil.ConflictResolution SOURCE_PREFERRED
public static final MergeUtil.ConflictResolution NOT_ALLOWED
public static MergeUtil.ConflictResolution[] values()
for (MergeUtil.ConflictResolution c : MergeUtil.ConflictResolution.values()) System.out.println(c);
public static MergeUtil.ConflictResolution 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 null