public class DefaultSchemaVersionComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.String>
| Constructor and Description |
|---|
DefaultSchemaVersionComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.String expected,
java.lang.String actual)
compare the expected version with the actual version.
|
public int compare(java.lang.String expected,
java.lang.String actual)
compare in interface java.util.Comparator<java.lang.String>expected - the version that is obtained from @Document annotationactual - the version that is read from the .json file