|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.util.VersionKit
public class VersionKit
Helps with versions comparisons
| Nested Class Summary | |
|---|---|
static class |
VersionKit.SoftwareVersion
|
| Constructor Summary | |
|---|---|
VersionKit()
|
|
| Method Summary | |
|---|---|
static VersionKit.SoftwareVersion |
parse(java.lang.String dottedVersionString)
Parses and returns a SoftwareVersion object representing the dotted number string. |
static VersionKit.SoftwareVersion |
version(int majorVersion,
int... versions)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionKit()
| Method Detail |
|---|
public static VersionKit.SoftwareVersion parse(java.lang.String dottedVersionString)
dottedVersionString - the input version
java.lang.IllegalArgumentException - if the string is not N.N.N
public static VersionKit.SoftwareVersion version(int majorVersion,
int... versions)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||