public class AVMDifference extends Object implements Serializable, Comparable<AVMDifference>
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFLICT |
static int |
DIRECTORY |
static int |
NEWER |
static int |
OLDER |
static int |
SAME |
| Constructor and Description |
|---|
AVMDifference(int srcVersion,
String srcPath,
int dstVersion,
String dstPath,
int diffCode)
Make one up.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AVMDifference other) |
String |
getDestinationPath()
Get the destination path.
|
int |
getDestinationVersion()
Get the destination version number.
|
int |
getDifferenceCode()
Get the difference code, NEWER, OLDER, CONFLICT.
|
int |
getOrderValue() |
String |
getSourcePath()
Get the source path.
|
int |
getSourceVersion()
Get the source version number.
|
boolean |
isValid()
Check for improperly initialized instances.
|
String |
toString()
Get as String.
|
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
public AVMDifference(int srcVersion,
String srcPath,
int dstVersion,
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, CONFLICTpublic int getSourceVersion()
public String getSourcePath()
public int getDestinationVersion()
public String getDestinationPath()
public int getDifferenceCode()
public boolean isValid()
public String toString()
public int compareTo(AVMDifference other)
compareTo in interface Comparable<AVMDifference>public int getOrderValue()
Copyright © 2005–2014 Alfresco Software. All rights reserved.