Partager via


ConflictResolutionMode Class

public final class ConflictResolutionMode
extends ExpandableStringEnum<ConflictResolutionMode>

Indicates the conflict resolution mode.

Field Summary

Modifier and Type Field and Description
static final ConflictResolutionMode CUSTOM

Static value Custom for ConflictResolutionMode.

static final ConflictResolutionMode LAST_WRITER_WINS

Static value LastWriterWins for ConflictResolutionMode.

Constructor Summary

Constructor Description
ConflictResolutionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConflictResolutionMode value.

Method Summary

Modifier and Type Method and Description
static ConflictResolutionMode fromString(String name)

Creates or finds a ConflictResolutionMode from its string representation.

static Collection<ConflictResolutionMode> values()

Gets known ConflictResolutionMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CUSTOM

public static final ConflictResolutionMode CUSTOM

Static value Custom for ConflictResolutionMode.

LAST_WRITER_WINS

public static final ConflictResolutionMode LAST_WRITER_WINS

Static value LastWriterWins for ConflictResolutionMode.

Constructor Details

ConflictResolutionMode

@Deprecated
public ConflictResolutionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ConflictResolutionMode value.

Method Details

fromString

public static ConflictResolutionMode fromString(String name)

Creates or finds a ConflictResolutionMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ConflictResolutionMode.

values

public static Collection values()

Gets known ConflictResolutionMode values.

Returns:

known ConflictResolutionMode values.

Applies to