SyncDirection Class

public final class SyncDirection
extends ExpandableStringEnum<SyncDirection>

Sync direction of the sync member.

Field Summary

Modifier and Type Field and Description
static final SyncDirection BIDIRECTIONAL

Static value Bidirectional for SyncDirection.

static final SyncDirection ONE_WAY_HUB_TO_MEMBER

Static value OneWayHubToMember for SyncDirection.

static final SyncDirection ONE_WAY_MEMBER_TO_HUB

Static value OneWayMemberToHub for SyncDirection.

Constructor Summary

Constructor Description
SyncDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncDirection value.

Method Summary

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

Creates or finds a SyncDirection from its string representation.

static Collection<SyncDirection> values()

Gets known SyncDirection values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BIDIRECTIONAL

public static final SyncDirection BIDIRECTIONAL

Static value Bidirectional for SyncDirection.

ONE_WAY_HUB_TO_MEMBER

public static final SyncDirection ONE_WAY_HUB_TO_MEMBER

Static value OneWayHubToMember for SyncDirection.

ONE_WAY_MEMBER_TO_HUB

public static final SyncDirection ONE_WAY_MEMBER_TO_HUB

Static value OneWayMemberToHub for SyncDirection.

Constructor Details

SyncDirection

@Deprecated
public SyncDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncDirection value.

Method Details

fromString

public static SyncDirection fromString(String name)

Creates or finds a SyncDirection from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SyncDirection.

values

public static Collection values()

Gets known SyncDirection values.

Returns:

known SyncDirection values.

Applies to