|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.util.VersionKit.SoftwareVersion
public static class VersionKit.SoftwareVersion
| Constructor Summary | |
|---|---|
VersionKit.SoftwareVersion(int majorVersion,
int minorVersion)
|
|
VersionKit.SoftwareVersion(int majorVersion,
int minorVersion,
int bugfixVersion)
|
|
VersionKit.SoftwareVersion(java.lang.String dottedVersionString)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
getBugFixVersion()
|
int |
getMajorVersion()
|
int |
getMinorVersion()
|
int |
hashCode()
|
boolean |
isGreaterThan(VersionKit.SoftwareVersion that)
Returns true if this version is greater than the specified version |
boolean |
isGreaterThanOrEqualTo(VersionKit.SoftwareVersion that)
Returns true if this version is greater than if equal to the specified version |
boolean |
isLessThan(VersionKit.SoftwareVersion that)
Returns true if this version is less than the specified version |
boolean |
isLessThanOrEqualTo(VersionKit.SoftwareVersion that)
Returns true if this version is less than or equal to the specified version |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VersionKit.SoftwareVersion(java.lang.String dottedVersionString)
public VersionKit.SoftwareVersion(int majorVersion,
int minorVersion,
int bugfixVersion)
public VersionKit.SoftwareVersion(int majorVersion,
int minorVersion)
| Method Detail |
|---|
public int getMajorVersion()
public int getMinorVersion()
public int getBugFixVersion()
public boolean isGreaterThanOrEqualTo(VersionKit.SoftwareVersion that)
that - the specified version to compare against
public boolean isLessThanOrEqualTo(VersionKit.SoftwareVersion that)
that - the specified version to compare against
public boolean isGreaterThan(VersionKit.SoftwareVersion that)
that - the specified version to compare against
public boolean isLessThan(VersionKit.SoftwareVersion that)
that - the specified version to compare against
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||