|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.avmsync.AVMDifference
public class AVMDifference
Represents the difference between corresponding nodes in parallel avm node trees. It it indicates for the difference whether the source is older, newer, or in conflict with the destination.
Field Summary | |
---|---|
static int |
CONFLICT
|
static int |
DIRECTORY
|
static int |
NEWER
|
static int |
OLDER
|
static int |
SAME
|
Constructor Summary | |
---|---|
AVMDifference(int srcVersion,
java.lang.String srcPath,
int dstVersion,
java.lang.String dstPath,
int diffCode)
Make one up. |
Method Summary | |
---|---|
int |
compareTo(AVMDifference other)
|
java.lang.String |
getDestinationPath()
Get the destination path. |
int |
getDestinationVersion()
Get the destination version number. |
int |
getDifferenceCode()
Get the difference code, NEWER, OLDER, CONFLICT. |
int |
getOrderValue()
|
java.lang.String |
getSourcePath()
Get the source path. |
int |
getSourceVersion()
Get the source version number. |
boolean |
isValid()
Check for improperly initialized instances. |
java.lang.String |
toString()
Get as String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NEWER
public static final int OLDER
public static final int CONFLICT
public static final int DIRECTORY
public static final int SAME
Constructor Detail |
---|
public AVMDifference(int srcVersion, java.lang.String srcPath, int dstVersion, java.lang.String dstPath, int diffCode)
srcVersion
- The source version.srcPath
- the source path.dstVersion
- The destination version.dstPath
- The destination path.diffCode
- The difference code, NEWER, OLDER, CONFLICTMethod Detail |
---|
public int getSourceVersion()
public java.lang.String getSourcePath()
public int getDestinationVersion()
public java.lang.String getDestinationPath()
public int getDifferenceCode()
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(AVMDifference other)
compareTo
in interface java.lang.Comparable
public int getOrderValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |