org.aspectj.bridge
Class Version

java.lang.Object
  extended by org.aspectj.bridge.Version

public class Version
extends java.lang.Object

release-specific version information


Field Summary
static java.lang.String DEVELOPMENT
          default version value for development version
static long NOTIME
          default time value for development version
static java.lang.String SIMPLE_DATE_FORMAT
          format used by build script to set time_text
static java.lang.String text
          set by build script
static java.lang.String time_text
          Time text set by build script using SIMPLE_DATE_FORMAT.
 
Constructor Summary
Version()
           
 
Method Summary
static long getTime()
           
static void main(java.lang.String[] args)
          Test whether the version is as specified by any first argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVELOPMENT

public static final java.lang.String DEVELOPMENT
default version value for development version

See Also:
Constant Field Values

NOTIME

public static final long NOTIME
default time value for development version

See Also:
Constant Field Values

text

public static final java.lang.String text
set by build script

See Also:
Constant Field Values

time_text

public static final java.lang.String time_text
Time text set by build script using SIMPLE_DATE_FORMAT. (if DEVELOPMENT version, invalid)

See Also:
Constant Field Values

SIMPLE_DATE_FORMAT

public static final java.lang.String SIMPLE_DATE_FORMAT
format used by build script to set time_text

See Also:
Constant Field Values
Constructor Detail

Version

public Version()
Method Detail

getTime

public static long getTime()

main

public static void main(java.lang.String[] args)
Test whether the version is as specified by any first argument. Emit text to System.err on failure

Parameters:
args - String[] with first argument equal to Version.text
See Also:
text