|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ConflictResolutionMethod>
org.openstreetmap.osmosis.core.merge.common.ConflictResolutionMethod
public enum ConflictResolutionMethod
Defines the methods that can be used to resolve conflicts when two sources contain the same element.
| Enum Constant Summary | |
|---|---|
LatestSource
Select the entity from the latest input source. |
|
Timestamp
Select the entity with the latest timestamp. |
|
Version
Select the entity with the highest version number. |
|
| Method Summary | |
|---|---|
static ConflictResolutionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ConflictResolutionMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConflictResolutionMethod Timestamp
public static final ConflictResolutionMethod LatestSource
public static final ConflictResolutionMethod Version
| Method Detail |
|---|
public static ConflictResolutionMethod[] values()
for (ConflictResolutionMethod c : ConflictResolutionMethod.values()) System.out.println(c);
public static ConflictResolutionMethod 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 name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||