Class BValVersion


  • public class BValVersion
    extends Object
    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 Detail

      • PROJECT_ID

        public static final String PROJECT_ID
        Unique id of the current project/version/revision
      • VERSION_NUMBER

        public static final String VERSION_NUMBER
        Version number
      • MAJOR_RELEASE

        public static final int MAJOR_RELEASE
        Major release number
      • MINOR_RELEASE

        public static final int MINOR_RELEASE
        Minor release number
      • PATCH_RELEASE

        public static final int PATCH_RELEASE
        Patch/point release number
      • RELEASE_STATUS

        public static final String RELEASE_STATUS
        Release status
      • REVISION_NUMBER

        public static final String REVISION_NUMBER
        Version control revision number
    • Constructor Detail

      • BValVersion

        public BValVersion()
    • Method Detail

      • getVersion

        public static String getVersion()
        Get the project version number.
        Returns:
        String
      • getRevision

        public static String getRevision()
        Get the version control revision number.
        Returns:
        String
      • getName

        public static String getName()
        Get the project name.
        Returns:
        String
      • getID

        public static String getID()
        Get the fully-qualified project id.
        Returns:
        String
      • main

        public static void main​(String[] args)
        Main method of this class that prints the toString() to System.out.
        Parameters:
        args - ignored