Package com.seeq.link.sdk.interfaces
Enum Class SyncStatus
- All Implemented Interfaces:
Serializable
,Comparable<SyncStatus>
,Constable
Captures the state of sync'ing (aka indexing).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConnection has sync'd inSyncMode.FULL
mode and is now archiving deleted items.Connection has finished sync'ing.Last sync was a failure and the next sync has been scheduled.Connection is actively sync'ing.Scheduler has kicked off a sync but the connection hasn't done anything yet.Sync was a success and the next sync has been scheduled.Connection has started up but there has been no sync yet. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncStatus
Returns the enum constant of this class with the specified name.static SyncStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYNC_UNKNOWN
Connection has started up but there has been no sync yet. -
SYNC_INITIALIZING
Scheduler has kicked off a sync but the connection hasn't done anything yet. -
SYNC_IN_PROGRESS
Connection is actively sync'ing. -
SYNC_ARCHIVING_DELETED_ITEMS
Connection has sync'd inSyncMode.FULL
mode and is now archiving deleted items. -
SYNC_COMPLETE
Connection has finished sync'ing. -
SYNC_SUCCESS
Sync was a success and the next sync has been scheduled. -
SYNC_FAILED
Last sync was a failure and the next sync has been scheduled.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-