org.priha
Class Release

java.lang.Object
  extended by org.priha.Release

public final class Release
extends java.lang.Object

Details the release information. This class is executable, i.e. you can run

  % java -jar priha.jar org.priha.Release
  Priha Content Repository
  1.0.2
  (C) Janne Jalkanen 2007-2009
  
The first line is the application name, the second line is the version, and the third line is the copyright.

You may also use the argument "-versiononly" which will only print the version string. E.g.

  % java -jar priha.jar org.priha.Release -versiononly
  1.0.2
  


Field Summary
static java.lang.String APPNAME
          The application name.
static java.lang.String COPYRIGHT
          The copyright string.
static java.lang.String[] DESCRIPTORS
          Contains the JCR Descriptors.
static int MINORREVISION
          The current minor revision.
static java.lang.String POSTFIX
          E.g.
static int REVISION
          The current minor version.
static int VERSION
          The current major version.
static java.lang.String VERSTR
          The version string of the form version.revision.minorrevision.
 
Method Summary
static void main(java.lang.String[] argv)
          A static method which can be run to print the version information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPNAME

public static final java.lang.String APPNAME
The application name. Value is "Priha Content Repository".

See Also:
Constant Field Values

COPYRIGHT

public static final java.lang.String COPYRIGHT
The copyright string. Value is "(C) Janne Jalkanen 2007-2009".

See Also:
Constant Field Values

VERSION

public static final int VERSION
The current major version.

See Also:
Constant Field Values

REVISION

public static final int REVISION
The current minor version.

See Also:
Constant Field Values

MINORREVISION

public static final int MINORREVISION
The current minor revision.

See Also:
Constant Field Values

POSTFIX

public static final java.lang.String POSTFIX
E.g. "alpha" or "beta".

See Also:
Constant Field Values

VERSTR

public static final java.lang.String VERSTR
The version string of the form version.revision.minorrevision. At the time of the generation of this documentation, it was .


DESCRIPTORS

public static final java.lang.String[] DESCRIPTORS
Contains the JCR Descriptors. Essentially lists the different features that the repository supports. Use Repository.getDescriptor(String)

Method Detail

main

public static final void main(java.lang.String[] argv)
A static method which can be run to print the version information.

Parameters:
argv - Arguments. Currently allowed argument is "-versiononly", which prints just the version information.