org.opengts
Class Version

java.lang.Object
  extended by org.opengts.Version

public class Version
extends java.lang.Object

This class provides runtime version information to the OpenGTS modules.


Field Summary
static java.lang.String COMPILED_VERSION
           
static java.lang.String COPYRIGHT
           
static java.lang.String GTS_ENTERPRISE_PREFIX
           
static java.lang.String SERVICE_ACCOUNT_ID
           
 
Constructor Summary
Version()
           
 
Method Summary
static java.lang.String getCompileTime()
          Returns the last compiled time date string
static long getCompileTimestamp()
          Returns the last compiled timestamp
static java.lang.String getCopyright()
          Returns the copyright notice
static java.lang.String getInfo()
          Returns a String representation of this Version
static long getPackageTimestamp()
          Returns the compiled package release timestamp
static java.lang.String getServiceAccountID()
          Returns the ServiceAccountID
static java.lang.String getVersion()
          Returns the compiled version String
static void initVersionProperty()
          Initializes the RTConfig constant 'version' property.
static void main(java.lang.String[] argv)
          Main entry point to display the current version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

GTS_ENTERPRISE_PREFIX

public static final java.lang.String GTS_ENTERPRISE_PREFIX
See Also:
Constant Field Values

COMPILED_VERSION

public static final java.lang.String COMPILED_VERSION
See Also:
Constant Field Values

SERVICE_ACCOUNT_ID

public static final java.lang.String SERVICE_ACCOUNT_ID
See Also:
Constant Field Values
Constructor Detail

Version

public Version()
Method Detail

initVersionProperty

public static void initVersionProperty()
Initializes the RTConfig constant 'version' property.


getCopyright

public static java.lang.String getCopyright()
Returns the copyright notice

Returns:
The copyright notice

getVersion

public static java.lang.String getVersion()
Returns the compiled version String

Returns:
The version String

getPackageTimestamp

public static long getPackageTimestamp()
Returns the compiled package release timestamp

Returns:
The package release timestamp

getCompileTimestamp

public static long getCompileTimestamp()
Returns the last compiled timestamp

Returns:
The last compiled timestamp

getCompileTime

public static java.lang.String getCompileTime()
Returns the last compiled time date string

Returns:
The last compiled time date string

getServiceAccountID

public static java.lang.String getServiceAccountID()
Returns the ServiceAccountID

Returns:
The ServiceAccountID

getInfo

public static java.lang.String getInfo()
Returns a String representation of this Version

Returns:
A String representation of this Version

main

public static void main(java.lang.String[] argv)
Main entry point to display the current version

Parameters:
argv - The command-line args