SyncConflictResolutionPolicy Class

public final class SyncConflictResolutionPolicy
extends ExpandableStringEnum<SyncConflictResolutionPolicy>

Conflict resolution policy of the sync group.

Field Summary

Modifier and Type Field and Description
static final SyncConflictResolutionPolicy HUB_WIN

Static value HubWin for SyncConflictResolutionPolicy.

static final SyncConflictResolutionPolicy MEMBER_WIN

Static value MemberWin for SyncConflictResolutionPolicy.

Constructor Summary

Constructor Description
SyncConflictResolutionPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncConflictResolutionPolicy value.

Method Summary

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

Creates or finds a SyncConflictResolutionPolicy from its string representation.

static Collection<SyncConflictResolutionPolicy> values()

Gets known SyncConflictResolutionPolicy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

HUB_WIN

public static final SyncConflictResolutionPolicy HUB_WIN

Static value HubWin for SyncConflictResolutionPolicy.

MEMBER_WIN

public static final SyncConflictResolutionPolicy MEMBER_WIN

Static value MemberWin for SyncConflictResolutionPolicy.

Constructor Details

SyncConflictResolutionPolicy

@Deprecated
public SyncConflictResolutionPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncConflictResolutionPolicy value.

Method Details

fromString

public static SyncConflictResolutionPolicy fromString(String name)

Creates or finds a SyncConflictResolutionPolicy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SyncConflictResolutionPolicy.

values

public static Collection values()

Gets known SyncConflictResolutionPolicy values.

Returns:

known SyncConflictResolutionPolicy values.

Applies to