public class FileVersion extends Object implements Comparable<FileVersion>
Modifier and Type | Field and Description |
---|---|
protected String |
qualifier |
protected boolean |
snapshot |
protected static String |
SNAPSHOT |
protected boolean |
specialQualifier |
protected Integer[] |
splitVersion |
protected String |
version |
Constructor and Description |
---|
FileVersion(String value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FileVersion o) |
boolean |
equals(Object o) |
String |
getQualifier() |
Integer[] |
getSplitVersion() |
String |
getVersion() |
String |
getVersionWithoutQualifier() |
String |
getVersionWithoutSnapshot() |
boolean |
greaterThan(FileVersion other) |
boolean |
hasSpecialQualifier() |
boolean |
isSnapshot() |
boolean |
lessThan(FileVersion other) |
void |
split(String value) |
String |
toString() |
protected static final String SNAPSHOT
protected boolean snapshot
protected boolean specialQualifier
protected Integer[] splitVersion
public FileVersion(String value)
public String getQualifier()
public Integer[] getSplitVersion()
public int compareTo(FileVersion o)
compareTo
in interface Comparable<FileVersion>
public String getVersion()
public String getVersionWithoutSnapshot()
public boolean greaterThan(FileVersion other)
public boolean lessThan(FileVersion other)
public boolean isSnapshot()
public boolean hasSpecialQualifier()
public String getVersionWithoutQualifier()
Copyright © 2015 Nuxeo SA. All rights reserved.