public class SyncManager_Old
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE |
static int |
DONE |
static int |
DOWN |
static int |
FAILED |
static int |
INIT |
protected org.apache.commons.logging.Log |
logger |
static int |
UNKNOWN |
Constructor and Description |
---|
SyncManager_Old()
Initialize the sync manager
|
Modifier and Type | Method and Description |
---|---|
int |
getSyncState()
Fetch the sync state
|
java.lang.String |
getSyncStateAsText()
Fetch the sync state as a short text string
|
void |
run()
Run one iteration of syncing.
|
void |
setPicMan(PicManFacade pmf)
Set the reference to the PicMan API.
|
public static final int UNKNOWN
public static final int INIT
public static final int DOWN
public static final int ACTIVE
public static final int DONE
public static final int FAILED
protected final org.apache.commons.logging.Log logger
public void setPicMan(PicManFacade pmf)
pmf
- The PicManFacadepublic int getSyncState()
public java.lang.String getSyncStateAsText()
public void run()