Package com.impossibl.postgres.system
Class Version
- java.lang.Object
-
- com.impossibl.postgres.system.Version
-
public class Version extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static Version
get(int major, Integer minor, Integer revision)
static Version
get(int major, Integer minor, Integer revision, String tag)
int
getMajor()
Integer
getMinor()
int
getMinorValue()
Integer
getRevision()
int
getRevisionValue()
String
getTag()
int
hashCode()
boolean
isEqual(int major)
boolean
isEqual(int major, int minor)
boolean
isEqual(int major, int minor, int revision)
boolean
isEqual(Version ver)
boolean
isMinimum(int major)
boolean
isMinimum(int major, int minor)
boolean
isMinimum(int major, int minor, int revision)
boolean
isMinimum(Version ver)
static Version
parse(String versionString)
String
toString()
-
-
-
Method Detail
-
getMajor
public int getMajor()
-
getMinor
public Integer getMinor()
-
getMinorValue
public int getMinorValue()
-
getRevision
public Integer getRevision()
-
getRevisionValue
public int getRevisionValue()
-
getTag
public String getTag()
-
isMinimum
public boolean isMinimum(int major)
-
isMinimum
public boolean isMinimum(int major, int minor)
-
isMinimum
public boolean isMinimum(int major, int minor, int revision)
-
isMinimum
public boolean isMinimum(Version ver)
-
isEqual
public boolean isEqual(int major)
-
isEqual
public boolean isEqual(int major, int minor)
-
isEqual
public boolean isEqual(int major, int minor, int revision)
-
isEqual
public boolean isEqual(Version ver)
-
-