|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bval.util.BValVersion
public class BValVersion
This class contains version information for BVal. It uses Ant's filter tokens to convert the template into a java file with current information.
Field Summary | |
---|---|
static int |
MAJOR_RELEASE
Major release number |
static int |
MINOR_RELEASE
Minor release number |
static int |
PATCH_RELEASE
Patch/point release number |
static String |
PROJECT_ID
Unique id of the current project/version/revision |
static String |
PROJECT_NAME
Project name |
static String |
RELEASE_STATUS
Release status |
static String |
REVISION_NUMBER
Version control revision number |
static String |
VERSION_NUMBER
Version number |
Constructor Summary | |
---|---|
BValVersion()
|
Method Summary | |
---|---|
static String |
getID()
Get the fully-qualified project id. |
static String |
getName()
Get the project name. |
static String |
getRevision()
Get the version control revision number. |
static String |
getVersion()
Get the project version number. |
static void |
main(String[] args)
Main method of this class that prints the toString() to System.out . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROJECT_NAME
public static final String PROJECT_ID
public static final String VERSION_NUMBER
public static final int MAJOR_RELEASE
public static final int MINOR_RELEASE
public static final int PATCH_RELEASE
public static final String RELEASE_STATUS
public static final String REVISION_NUMBER
Constructor Detail |
---|
public BValVersion()
Method Detail |
---|
public static String getVersion()
public static String getRevision()
public static String getName()
public static String getID()
public static void main(String[] args)
toString()
to System.out
.
args
- ignoredpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |