Partager via


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

Static value NeverConnected for SyncAgentState.

static final SyncAgentState OFFLINE

Static value Offline for SyncAgentState.

static final SyncAgentState ONLINE

Static value Online for SyncAgentState.

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

Static value NeverConnected for SyncAgentState.

OFFLINE

public static final SyncAgentState OFFLINE

Static value Offline for SyncAgentState.

ONLINE

public static final SyncAgentState ONLINE

Static value Online for SyncAgentState.

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 values()

Gets known SyncAgentState values.

Returns:

known SyncAgentState values.

Applies to