org.olat
Class VersionImpl
java.lang.Object
org.olat.VersionImpl
- All Implemented Interfaces:
- Version
public class VersionImpl
- extends java.lang.Object
- implements Version
Initial Date: 04.12.2002
- Author:
- Mike Stock
Comment:
When executing build.xml nightly a version number is generated. The number is
available in the file build.info.txt. Then the file org.olat.Version.java
is going to be modified accordingly before the compile process.
To modify the version, change the property build.version
in build.properties befor running the nightly process. To reset the build
number, set the build number in build.info.txt to "0000".
See also "build.xml" and "build.info.txt".
|
Constructor Summary |
VersionImpl()
Constructor for Version. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionImpl
public VersionImpl()
- Constructor for Version.
getInstance
public Version getInstance()
- Specified by:
getInstance in interface Version
- Returns:
getVersion
public final java.lang.String getVersion()
- Specified by:
getVersion in interface Version
- Returns:
- Short version string.
getBuild
public final java.lang.String getBuild()
- Specified by:
getBuild in interface Version
- Returns:
- Build number.
getFullVersion
public final java.lang.String getFullVersion()
- Specified by:
getFullVersion in interface Version
- Returns:
- Full version string including build number.
getApplicationName
public java.lang.String getApplicationName()
- Specified by:
getApplicationName in interface Version
- Returns:
- The application name
- See Also:
Version.getApplicationName()