|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.priha.Release
public final class Release
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-2009The 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 |
---|
public static final java.lang.String APPNAME
public static final java.lang.String COPYRIGHT
public static final int VERSION
public static final int REVISION
public static final int MINORREVISION
public static final java.lang.String POSTFIX
public static final java.lang.String VERSTR
public static final java.lang.String[] DESCRIPTORS
Repository.getDescriptor(String)
Method Detail |
---|
public static final void main(java.lang.String[] argv)
argv
- Arguments. Currently allowed argument is "-versiononly", which prints
just the version information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |