com.springrts.ai.oo
Class Version

java.lang.Object
  extended by com.springrts.ai.oo.Version
All Implemented Interfaces:
Comparable<Version>

public class Version
extends Object
implements Comparable<Version>


Method Summary
 int compareTo(Version other)
           
 boolean equals(Object otherObject)
           
 String getAdditional()
          Returns additional information (compiler flags, svn revision etc.)
 String getBuildTime()
          Returns the time of build
 String getFull()
          Returns "Major.Minor.Patchset (Additional)"
 String getMajor()
          Returns the major engine revision number (e.g.
 String getMinor()
          Returns the minor engine revision
 String getNormal()
          Returns "Major.Minor"
 String getPatchset()
          Clients that only differ in patchset can still play together.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

compareTo

public int compareTo(Version other)
Specified by:
compareTo in interface Comparable<Version>

equals

public boolean equals(Object otherObject)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getMajor

public String getMajor()
Returns the major engine revision number (e.g. 0.77)


getMinor

public String getMinor()
Returns the minor engine revision


getPatchset

public String getPatchset()
Clients that only differ in patchset can still play together. Also demos should be compatible between patchsets.


getAdditional

public String getAdditional()
Returns additional information (compiler flags, svn revision etc.)


getBuildTime

public String getBuildTime()
Returns the time of build


getNormal

public String getNormal()
Returns "Major.Minor"


getFull

public String getFull()
Returns "Major.Minor.Patchset (Additional)"