tribble.build
Class TestVersionInfo

java.lang.Object
  extended bytribble.build.AbstractVersion
      extended bytribble.build.TestVersionInfo
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.WindowListener

public final class TestVersionInfo
extends AbstractVersion

Foo, 2.3B-4 Beta, 2002-11-23.

Version:
2.3B-4 Beta, 2002-11-23

Field Summary
static long BUILD_DATE
           
static java.lang.String ISO_BUILD_DATE
           
static int MAJOR_VERSION
           
static int MINOR_VERSION
           
static java.lang.String NAME
           
static java.lang.String PACKAGE
           
static java.lang.String PATCH
           
static java.lang.String VERSION
           
 
Fields inherited from class tribble.build.AbstractVersion
m_frame
 
Constructor Summary
TestVersionInfo()
           
 
Method Summary
 java.util.Date getBuildDate()
          Retrieve the build date.
 java.lang.String getIsoBuildDate()
          Retrieve the build date.
 int getMajor()
          Retrieve the major release number.
 int getMinor()
          Retrieve the minor release number.
 java.lang.String getName()
          Retrieve the component name.
 java.lang.String getPackage()
          Retrieve the package name.
 java.lang.String getPatch()
          Retrieve the patch number/name.
 java.lang.String getVersion()
          Retrieve the version string.
 java.lang.String getWhatString()
          Retrieve the embedded 'what' string.
static void main(java.lang.String[] args)
           
 
Methods inherited from class tribble.build.AbstractVersion
actionPerformed, run, showGui, showText, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

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

PACKAGE

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

VERSION

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

MAJOR_VERSION

public static final int MAJOR_VERSION
See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
See Also:
Constant Field Values

PATCH

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

BUILD_DATE

public static final long BUILD_DATE
See Also:
Constant Field Values

ISO_BUILD_DATE

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

TestVersionInfo

public TestVersionInfo()
Method Detail

main

public static void main(java.lang.String[] args)

getName

public java.lang.String getName()
Description copied from class: AbstractVersion
Retrieve the component name.

Specified by:
getName in class AbstractVersion
Returns:
The name (or title) of the component.

getPackage

public java.lang.String getPackage()
Description copied from class: AbstractVersion
Retrieve the package name.

Specified by:
getPackage in class AbstractVersion
Returns:
The name of the package, e.g. "my.package.name".

getVersion

public java.lang.String getVersion()
Description copied from class: AbstractVersion
Retrieve the version string.

Specified by:
getVersion in class AbstractVersion
Returns:
The version number of the package. This is typically of the form "M.m.u.p".

getMajor

public int getMajor()
Description copied from class: AbstractVersion
Retrieve the major release number.

Specified by:
getMajor in class AbstractVersion
Returns:
The major version number of the package. This is typically the first number of the whole version number.

getMinor

public int getMinor()
Description copied from class: AbstractVersion
Retrieve the minor release number.

Specified by:
getMinor in class AbstractVersion
Returns:
The minor version number of the package. This is typically the second number of the whole version number.

getPatch

public java.lang.String getPatch()
Description copied from class: AbstractVersion
Retrieve the patch number/name.

Specified by:
getPatch in class AbstractVersion
Returns:
The patch number or name of the package.

getBuildDate

public java.util.Date getBuildDate()
Description copied from class: AbstractVersion
Retrieve the build date.

Specified by:
getBuildDate in class AbstractVersion
Returns:
The date that the package was compiled.

getIsoBuildDate

public java.lang.String getIsoBuildDate()
Description copied from class: AbstractVersion
Retrieve the build date.

Specified by:
getIsoBuildDate in class AbstractVersion
Returns:
The date that the package was compiled as a string in ISO-8601 format ("YYYY-MM-DD HH:MM").

getWhatString

public java.lang.String getWhatString()
Description copied from class: AbstractVersion
Retrieve the embedded 'what' string.

Specified by:
getWhatString in class AbstractVersion
Returns:
A string containing one or more 'what' strings, each beginning with the prefix "@(#)" and ending with a suffix of "\n".