mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Checkpoint for AVMSyncService. Update (that's promote to use
preferred parlance or submit if you have a certain background) is substantially working, passing a handful of basic tests. Compare harmlessly returns no differences always, so Kev can program against it if he's so inclined. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -32,6 +32,8 @@ public class AVMDifference implements Serializable
|
||||
public static final int NEWER = 0;
|
||||
public static final int OLDER = 1;
|
||||
public static final int CONFLICT = 2;
|
||||
public static final int DIRECTORY = 3;
|
||||
public static final int SAME = 4;
|
||||
|
||||
/**
|
||||
* Version number of the source node.
|
||||
@@ -120,4 +122,13 @@ public class AVMDifference implements Serializable
|
||||
{
|
||||
return fDiffCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for improperly initialized instances.
|
||||
* @return Whether source and destination are non null.
|
||||
*/
|
||||
public boolean isValid()
|
||||
{
|
||||
return fSourcePath != null && fDestPath != null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user