SyncAgentState Class

public final class SyncAgentState
extends ExpandableStringEnum<SyncAgentState>

State of the sync agent.

Field Summary

Modifier and Type Field and Description
static final SyncAgentState NEVER_CONNECTED

NeverConnected.

static final SyncAgentState OFFLINE

Offline.

static final SyncAgentState ONLINE

Online.

Constructor Summary

Constructor Description
SyncAgentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncAgentState value.

Method Summary

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

Creates or finds a SyncAgentState from its string representation.

static Collection<SyncAgentState> values()

Gets known SyncAgentState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NEVER_CONNECTED

public static final SyncAgentState NEVER_CONNECTED

NeverConnected.

OFFLINE

public static final SyncAgentState OFFLINE

Offline.

ONLINE

public static final SyncAgentState ONLINE

Online.

Constructor Details

SyncAgentState

@Deprecated
public SyncAgentState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SyncAgentState value.

Method Details

fromString

public static SyncAgentState fromString(String name)

Creates or finds a SyncAgentState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SyncAgentState.

values

public static Collection<SyncAgentState> values()

Gets known SyncAgentState values.

Returns:

known SyncAgentState values.

Applies to