com.atlassian.greenhopper.util
Class VersionKit
java.lang.Object
com.atlassian.greenhopper.util.VersionKit
public class VersionKit
- extends Object
Helps with versions comparisons
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionKit
public VersionKit()
parse
public static VersionKit.SoftwareVersion parse(String dottedVersionString)
- Parses and returns a SoftwareVersion object representing the dotted number string.
- Parameters:
dottedVersionString - the input version
- Returns:
- a version domain object
- Throws:
IllegalArgumentException - if the string is not N.N.N
version
public static VersionKit.SoftwareVersion version(int majorVersion,
int... versions)
Copyright © 2007-2012 Atlassian. All Rights Reserved.