public class NotificationMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_STORAGE_FAILED_CODE |
static String |
CLIENT_STORAGE_FAILED_MESSAGE |
static int |
COLLISION_DETECTED_CODE |
static String |
COLLISION_DETECTED_MESSAGE |
static int |
DELTA_RECEIVED_CODE |
static String |
DELTA_RECEIVED_MESSAGE |
static int |
LOCAL_UPDATE_APPLIED_CODE |
static String |
LOCAL_UPDATE_APPLIED_MESSAGE |
static int |
OFFLINE_UPDATE_CODE |
static String |
OFFLINE_UPDATE_MESSAGE |
static int |
REMOTE_UPDATE_APPLIED_CODE |
static String |
REMOTE_UPDATE_APPLIED_MESSAGE |
static int |
REMOTE_UPDATE_FAILED_CODE |
static String |
REMOTE_UPDATE_FAILED_MESSAGE |
static int |
SYNC_COMPLETE_CODE |
static String |
SYNC_COMPLETE_MESSAGE |
static int |
SYNC_FAILED_CODE |
static String |
SYNC_FAILED_MESSAGE |
static int |
SYNC_STARTED_CODE |
static String |
SYNC_STARTED_MESSAGE |
| Constructor and Description |
|---|
NotificationMessage(String pDataId,
String pUID,
String pCodeMessage,
String pExtraMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
The code message associated with the event
|
String |
getDataId()
The id of the dataset associated with the event
|
String |
getMessage()
Extra message associated with the event
|
static NotificationMessage |
getMessage(String pDatasetId,
String pUid,
int pCode,
String pMessage) |
String |
getUID()
The id of the data record associated with the event
|
String |
toString() |
public static final int SYNC_STARTED_CODE
public static final int SYNC_COMPLETE_CODE
public static final int OFFLINE_UPDATE_CODE
public static final int COLLISION_DETECTED_CODE
public static final int REMOTE_UPDATE_FAILED_CODE
public static final int REMOTE_UPDATE_APPLIED_CODE
public static final int DELTA_RECEIVED_CODE
public static final int CLIENT_STORAGE_FAILED_CODE
public static final int SYNC_FAILED_CODE
public static final int LOCAL_UPDATE_APPLIED_CODE
public static final String SYNC_STARTED_MESSAGE
public static final String SYNC_COMPLETE_MESSAGE
public static final String OFFLINE_UPDATE_MESSAGE
public static final String COLLISION_DETECTED_MESSAGE
public static final String REMOTE_UPDATE_FAILED_MESSAGE
public static final String REMOTE_UPDATE_APPLIED_MESSAGE
public static final String LOCAL_UPDATE_APPLIED_MESSAGE
public static final String DELTA_RECEIVED_MESSAGE
public static final String CLIENT_STORAGE_FAILED_MESSAGE
public static final String SYNC_FAILED_MESSAGE
public String getDataId()
public String getUID()
public String getCode()
public String getMessage()
public static NotificationMessage getMessage(String pDatasetId, String pUid, int pCode, String pMessage)
Copyright © 2016 Red Hat. All rights reserved.