Class SyncResultItem
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.commercial.sync.components.SyncResultItem
-
public class SyncResultItem extends Object
Instances of this class are intended to inform about the results of a synchronization process. In principle a simple list of strings would suffice, however this class could be extended in the future to provide mechanisms to retry a sync action- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_ERROR
An unexpected error was found while execute the sync actionstatic int
TYPE_INFORMATION
The sync action was executed and an information message was generatedstatic int
TYPE_SUCCESS
The sync action was executed successfullystatic int
TYPE_WARNING
The sync action was executed with warnings
-
Constructor Summary
Constructors Constructor Description SyncResultItem(SyncResult syncResult)
-
-
-
Field Detail
-
TYPE_ERROR
public static int TYPE_ERROR
An unexpected error was found while execute the sync action
-
TYPE_SUCCESS
public static int TYPE_SUCCESS
The sync action was executed successfully
-
TYPE_WARNING
public static int TYPE_WARNING
The sync action was executed with warnings
-
TYPE_INFORMATION
public static int TYPE_INFORMATION
The sync action was executed and an information message was generated
-
-
Constructor Detail
-
SyncResultItem
public SyncResultItem(SyncResult syncResult)
-
-
Method Detail
-
getTypeAsString
public String getTypeAsString()
-
-